[logback-user] Feature request: lose logback-access.xml

Chris shef31 at yahoo.com
Tue Sep 28 22:03:48 CEST 2010


A feature request: in the interest of controlling the proliferation of 
configuration files and reducing classpath problems, I'd like to see the 
logback-access.xml configuration file get rolled into the main logback.xml.

It should be fairly simple to implement. To configure a request log, 
just add a section like this to logback.xml:

<logger name="ch.qos.logback.access.jetty.RequestLogImpl">
   <appender>
     // config appender here
     <encoder><pattern>clf</pattern></encoder>
   </appender>
</logger>

This keeps configuration nice and clean.



More information about the Logback-user mailing list