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
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to