[logback-dev] major improvements to Joran
ceki
ceki at qos.ch
Tue Apr 30 01:08:05 CEST 2013
Hi All,
I am planning major improvements to Joran in version 1.1.0 (the next
release of logback).
In logback.xml files you will be able to write:
<fileAppender name="FILE">
<file>testFile.log</file>
<append>true</append>
<encoder>
<pattern>[%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</fileAppender >
instead of the current more clunky
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>testFile.log</file>
<append>true</append>
<encoder>
<pattern>[%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>
The previous format will continue to work without change. The same idea
would extend to other components, not just appenders.
As a result, internal parts of Joran are expected to change.
--
Ceki
65% of statistics are made up on the spot
More information about the logback-dev
mailing list