<div dir="ltr">Done.<div><br></div><div style>Thanks.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 12:28 AM, 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">Hi Yoni,<br>
<br>
Thank you for the config file. There is a bug in the way logback interprets strings containing ':-'. Could you kindly file a jira issue? Just mention that variable substitution does not work if the original string contains ':-'.<br>
<br>
Many thanks in advance,<br>
<br>
On 05.05.2013 23:11, Yoni Moses wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<configuration><br>
<conversionRule conversionWord="host"<br>
<br>
converterClass="com.zao.<u></u>utilities.logging.<u></u>LogbackHostConverter" /><br>
<br>
<br>
<conversionRule conversionWord="env"<br>
<br>
converterClass="com.zao.<u></u>utilities.logging.<u></u>LogbackEnvironmentConverter" /><br>
<br>
<appender name="console" class="ch.qos.logback.core.<u></u>ConsoleAppender"><br>
<Encoding>UTF-8</Encoding><br>
<layout class="ch.qos.logback.classic.<u></u>PatternLayout"><br>
<pattern>[%-20thread] %d %-5level %-30logger{0} - %env %host<br>
%X{req.xForwardedFor:-none} %X{mdc_username} %X{req.requestURI} -<br>
%message%n</pattern><br>
</layout><br>
</appender><br>
<br>
<logger name="com.zao" level="DEBUG"/><br>
<logger name="org.springframework" level="WARN"/><br>
<logger name="org.springframework.<u></u>beans" level="WARN"/><br>
<logger name="org.springframework.<u></u>social" level="INFO"/><br>
<logger name="org.hibernate" level="WARN"/><br>
<logger name="org.apache" level="WARN"/><br>
<logger name="ch.qos" level="WARN"/><br>
<logger name="org.apache.http" level="WARN"/><br>
<br>
<br>
<!--<br>
==============================<u></u>==============================<u></u>==============================<u></u>=================<br>
--><br>
<!-- Root logger configuration<br>
--><br>
<!--<br>
==============================<u></u>==============================<u></u>==============================<u></u>=================<br>
--><br>
<root level="DEBUG"><br>
<appender-ref ref="console"/><br>
</root><br>
<br>
<br>
</configuration><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Ceki<br>
65% of statistics are made up on the spot<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"><div><br></div>-- <br><div dir="ltr">Cheers,<div>Yoni</div></div>
</div>