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.

_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to