<div dir="ltr"><div>Hello,<br><br></div>I use logback for my android app. <br clear="all"><div><div>This is my logback.xml file<br><br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><<span style="color:rgb(0,0,128);font-weight:bold">configuration </span><span style="color:rgb(0,0,255);font-weight:bold">debug=</span><span style="color:rgb(0,128,0);font-weight:bold">"true" </span><span style="color:rgb(0,0,255);font-weight:bold">scan=</span><span style="color:rgb(0,128,0);font-weight:bold">"true" </span><span style="color:rgb(0,0,255);font-weight:bold">scanPeriod=</span><span style="color:rgb(0,128,0);font-weight:bold">"2 seconds"</span>></pre></div><div><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><<span style="color:rgb(0,0,128);font-weight:bold">include </span><span style="color:rgb(0,0,255);font-weight:bold">file=</span><span style="color:rgb(0,128,0);font-weight:bold">"${EXT_DIR}/Download/XXX/assets/logbackincludedfile.xml" </span>/></pre><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><<span style="color:rgb(0,0,128);font-weight:bold">root </span><span style="color:rgb(0,0,255);font-weight:bold">level=</span><span style="color:rgb(0,128,0);font-weight:bold">"${root.level:-DEBUG}"</span>><br>    <<span style="color:rgb(0,0,128);font-weight:bold">appender-ref </span><span style="color:rgb(0,0,255);font-weight:bold">ref=</span><span style="color:rgb(0,128,0);font-weight:bold">"logcat" </span>/><br>    <<span style="color:rgb(0,0,128);font-weight:bold">appender-ref </span><span style="color:rgb(0,0,255);font-weight:bold">ref=</span><span style="color:rgb(0,128,0);font-weight:bold">"logstash" </span>/><br>    <<span style="color:rgb(0,0,128);font-weight:bold">appender-ref </span><span style="color:rgb(0,0,255);font-weight:bold">ref=</span><span style="color:rgb(0,128,0);font-weight:bold">"rollingLogFile" </span>/><br></<span style="color:rgb(0,0,128);font-weight:bold">root</span>></pre><br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><span style="color:rgb(0,128,0);font-weight:bold">logbackincludedfile.xml<br><br><included><br>  <property name="root.level" value="DEBUG" /><br></included><br></span></pre>But it can not change log level in runtime. I have to restart my android app and then it works.<br><br></div><div>What should I do, to make it work in runtime?<br><br></div><div>I use logback-android <br><pre style="background-color:rgb(255,255,255);color:rgb(0,0,0);font-family:"Courier New""><span style="color:rgb(0,128,0);font-weight:bold">com.github.tony19:logback-android:1.1.1-12</span></pre></div><div><br></div><div>Regards,<br></div><div>Neda<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Neda Danilović</div></div></div></div></div></div></div>