
Done. Thanks. On Mon, May 6, 2013 at 12:28 AM, ceki <ceki@qos.ch> wrote:
Hi Yoni,
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 ':-'.
Many thanks in advance,
On 05.05.2013 23:11, Yoni Moses wrote:
<configuration> <conversionRule conversionWord="host"
converterClass="com.zao.**utilities.logging.**LogbackHostConverter" />
<conversionRule conversionWord="env"
converterClass="com.zao.**utilities.logging.**LogbackEnvironmentConverter" />
<appender name="console" class="ch.qos.logback.core.**ConsoleAppender"> <Encoding>UTF-8</Encoding> <layout class="ch.qos.logback.classic.**PatternLayout"> <pattern>[%-20thread] %d %-5level %-30logger{0} - %env %host %X{req.xForwardedFor:-none} %X{mdc_username} %X{req.requestURI} - %message%n</pattern> </layout> </appender>
<logger name="com.zao" level="DEBUG"/> <logger name="org.springframework" level="WARN"/> <logger name="org.springframework.**beans" level="WARN"/> <logger name="org.springframework.**social" level="INFO"/> <logger name="org.hibernate" level="WARN"/> <logger name="org.apache" level="WARN"/> <logger name="ch.qos" level="WARN"/> <logger name="org.apache.http" level="WARN"/>
<!-- ==============================**==============================** ==============================**================= --> <!-- Root logger configuration --> <!-- ==============================**==============================** ==============================**================= --> <root level="DEBUG"> <appender-ref ref="console"/> </root>
</configuration>
-- Ceki 65% of statistics are made up on the spot ______________________________**_________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/**listinfo/logback-user<http://mailman.qos.ch/mailman/listinfo/logback-user>
-- Cheers, Yoni