[logback-user] where to place logback.xml?
Rolf Schumacher
rolf at august.de
Fri Mar 31 13:19:37 CEST 2017
Thank you for your answer, David
there are several options to solve my use-case.
Form the link you provided I have chosen the method, applying
"-Dlog.level=INFO".
---
Viele Grüße, Best Regards
Rolf Schumacher
Am 30.03.2017 22:08, schrieb David Roussel:
> As documented in https://logback.qos.ch/manual/configuration.html [2]
>
> You can specify a particular config file like this:
>
>> 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.
>
> java -DLOGBACK.CONFIGURATIONFILE=/PATH/TO/CONFIG.XML chapters.configuration.MyApp1
>
> 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: http://stackoverflow.com/a/5884505/191084 [3]
>
> Thanks
>
> David
>
> _______________________________________________
> logback-user mailing list
> logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user [1]
Links:
------
[1] http://mailman.qos.ch/mailman/listinfo/logback-user
[2] https://logback.qos.ch/manual/configuration.html
[3] http://stackoverflow.com/a/5884505/191084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20170331/a4d582f7/attachment.html>
More information about the logback-user
mailing list