Hello,

I use logback for my android app.
This is my logback.xml file

<configuration debug="true" scan="true" scanPeriod="2 seconds">

<include file="${EXT_DIR}/Download/XXX/assets/logbackincludedfile.xml" />

<root level="${root.level:-DEBUG}">
    <appender-ref ref="logcat" />
    <appender-ref ref="logstash" />
    <appender-ref ref="rollingLogFile" />
</root>


logbackincludedfile.xml

<included>
  <property name="root.level" value="DEBUG" />
</included>

But it can not change log level in runtime. I have to restart my android
app and then it works.

What should I do, to make it work in runtime?

I use logback-android

com.github.tony19:logback-android:1.1.1-12


Regards,
Neda
-- 
Neda Danilović
_______________________________________________
logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to