<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt'>
<p>Thank you for your answer, David</p>
<p>there are several options to solve my use-case.</p>
<p>Form the link you provided I have chosen the method, applying "-Dlog.level=INFO".</p>
<p> </p>
<div>
<pre>---<br />Viele Grüße, Best Regards

Rolf Schumacher</pre>
</div>
<p>Am 30.03.2017 22:08, schrieb David Roussel:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div>As documented in <a href="https://logback.qos.ch/manual/configuration.html">https://logback.qos.ch/manual/configuration.html</a></div>
<div> </div>
<div>You can specify a particular config file like this:</div>
<div> </div>
<div>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">You may specify the location of the default configuration file with a system property named"logback.configurationFile". The value of this property can be a URL, a resource on the class path or a path to a file external to the application.</blockquote>
</div>
<div>
<p class="source" style="border-top-width: 1px; border-top-style: solid; border-top-color: #dddddd; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #dddddd; background-color: #f5f5f5; font-family: Courier, 'MS Courier New', Prestige, monospace; padding-left: 1ex; white-space: pre; padding-bottom: 0.5ex; padding-top: 0.5ex;">java <strong>-Dlogback.configurationFile=/path/to/config.xml</strong> chapters.configuration.MyApp1</p>
</div>
<div> </div>
<div>If you don't want to override the whole file, but just want to be able to set debug level just by setting a system, then see my answer here: <a href="http://stackoverflow.com/a/5884505/191084">http://stackoverflow.com/a/5884505/191084</a></div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>David</div>
<!-- html ignored --><br />
<pre>_______________________________________________
logback-user mailing list
<a href="mailto:logback-user@qos.ch">logback-user@qos.ch</a>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user">http://mailman.qos.ch/mailman/listinfo/logback-user</a></pre>
</blockquote>
</body></html>