[logback-dev] Improvements to logback configuration
Ceki Gülcü
ceki at qos.ch
Mon Apr 22 16:00:42 CEST 2013
The same idea would extend to other components, not just appenders.
On 4/22/2013 3:55 PM, Ceki Gülcü wrote:
> Hi all,
>
> In the release following version 1.0.12, I plan to make significant
> improvements to the logback configuration format, so that 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 old format would of course continue to be valid.
>
> More details to follow after 1.0.12 is released.
>
> --
> Ceki
More information about the logback-dev
mailing list