[logback-user] Changing the log level on a per-message basis

Jason R Briggs jasonrbriggs at gmail.com
Fri Dec 3 13:57:13 CET 2010


Hi

Is there a reason why LoggingEvent.setLogLevel is a one-shot process?  I'm writing a converter which should be able to modify the level of the log message (based on config), however that won't work because the method will throw an illegal arg exception on subsequent access. 

Or is there a better way to do this?

Thx,
Jason


More information about the Logback-user mailing list