[logback-user] Change the log level to Debug when the application intercepts an unexpected error

Lucas Fabiano lucasguaruja at gmail.com
Thu Sep 18 23:50:27 CEST 2014

Hi guys,

I'm new in this list and logback and as I'm a brazilian, English is not my
first language. Please apologize for all the mistakes.

In my company the error level is set on production environment and
sometimes the stacktrace is not enough to figure out the problem.
What we have to do after been notified of the problem is deploy a new xml
changing the level to info or debug. Trust me, this can take a while.

I know that logback can use JMX but as it will probably be on the server in
production we will have restriction to change it and the person responsible
to operate the server will take a while to do it.

Anyway, if we can update the log level to debug it will generate an
overhead on the server and create a log of logs which we are not interested

How can we log in a different level for a specific user?
How can I turn on debug level for this user when the application catch an

Thank you,

Lucas Fabiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20140918/79d2ba90/attachment.html>

More information about the Logback-user mailing list