Issue Type: Improvement Improvement
Affects Versions: 1.1.3
Assignee: Logback dev list
Components: logback-access
Created: 29/Apr/15 12:23 PM
Description:

To use logback access with Spring Boot and its embedded Tomcat I find myself having to set up the LogbackValve programmatically.

My app's configuration is packaged as a resource inside the application jar, however ch.qos.logback.access.tomcat.LogbackValve has only a setFilename method that requires a path to a normal java.io.File.

I propose to refactor the class and add the possibility to read from classpath resources as well. In alternative moving the configuration reading operation to a dedicated method that a subclass can override would be enough.
The second approach should be trivial and I could provide a patch if desired.

Project: logback
Priority: Minor Minor
Reporter: Andrea Ratto
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to