Sounds great.<br><br>Thank you very much for such a quick response. :)<br><br>CheerZ! :)<br><br><br><div class="gmail_quote">On Wed, May 2, 2012 at 2:50 PM, ceki <span dir="ltr"><<a href="mailto:ceki@qos.ch" target="_blank">ceki@qos.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02.05.2012 22:36, Andrzej Zadorozny wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello.<br>
<br>
Just letting you know that logback is awesome, and I like it a lot.<br>
<br>
I have a quick question regarding the new release.<br>
Is there a way to set '<u></u>outputPatternAsPresentationHea<u></u>der' to 'false'<br>
programatically?<br>
</blockquote>
<br></div>
Sure. Get a hold of the PatternLayoutEncoder referenced by your appender (with the getEncoder() method) and invoke its setOutputPatternAsPresentation<u></u>Header() method with 'false' as parameter.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I get the default pattern output to stdout even before I get my hands on<br>
the logger context:<br>
ILoggerFactory factory = LoggerFactory.<u></u>getILoggerFactory();<br>
</blockquote>
<br></div>
The ConsoleAppender created by BasicConfigurator had this problem. It has been fixed in the source repository.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So by the time I get to even begin to configure my own layout, the<br>
pattern of the default layout is already on the screen (and it's not<br>
even the pattern that I'm trying to configure).<br>
<br>
Also the link on the web page to "one-question survey" appears to be broken.<br>
</blockquote>
<br></div>
Thank you for the heads up. It's now corrected.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would like to suggest to leave that option as 'false' by default, and<br>
give the ability for people to turn it on when they need to.<br>
</blockquote>
<br></div>
That seems to be the majority opinion.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Otherwise, logback is awesome, and I am looking forward to new features<br>
and enhancements.<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you very much. :)<br>
</blockquote>
<br></div>
Much appreciated.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CheerZ! :)<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Ceki<br>
<a href="http://twitter.com/#%21/ceki" target="_blank">http://twitter.com/#!/ceki</a><br>
______________________________<u></u>_________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/<u></u>listinfo/logback-user</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------------------------<br>Andrzej Zadorozny (<a href="mailto:andrzej.zadorozny@gmail.com">andrzej.zadorozny@gmail.com</a>)<br>
  -=[ <a href="http://www.andrzej.ca">www.andrzej.ca</a> ]=-<br>----------------------------------------------------------<br>"Some things are true whether you believe in them or not."<br>                             - Seth (City of Angels)<br>
<br>