[logback-user] set outputPatternAsPresentationHeader programatically?

Andrzej Zadorozny andrzej.zadorozny at gmail.com
Wed May 2 22:36:38 CEST 2012


Hello.

Just letting you know that logback is awesome, and I like it a lot.

I have a quick question regarding the new release.
Is there a way to set  'outputPatternAsPresentationHeader' to 'false'
programatically?

I get the default pattern output to stdout even before I get my hands on
the logger context:
ILoggerFactory factory = LoggerFactory.getILoggerFactory();
So by the time I get to even begin to configure my own layout, the pattern
of the default layout is already on the screen (and it's not even the
pattern that I'm trying to configure).

Also the link on the web page to "one-question survey" appears to be broken.
I would like to suggest to leave that option as 'false' by default, and
give the ability for people to turn it on when they need to.

Otherwise, logback is awesome, and I am looking forward to new features and
enhancements.

Thank you very much. :)

CheerZ! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20120502/10eeebea/attachment.html>


More information about the Logback-user mailing list