
I'm using the jetty-maven-plugin / "Jetty Maven Plugin" to start up my development server/Jetty container. I would like to integrate logback-access into this setup. I have configured jetty-maven-plugin to load a custom jetty.xml file. In this custom jetty.xml file, I create and configure a ch.qos.logback.access.jetty.RequestLogImpl as pointed out at http://logback.qos.ch/access.html . When I start-up the Jetty container using the jetty-maven-plugin (command "mvn jetty:run [...]"), the Jetty container starts up nicely, but logback-access doesn't get configured correctly: ~~~~Begin: log excerpt~~~~ 22:54:38,250 |-INFO in null - Will use configuration file [logback-access.xml] 22:54:38,251 |-ERROR in null - Could not find configuration file for logback-access ~~~~End: log excerpt~~~~ The problem is: I have no idea what jetty-maven-plugin and logback-access assume as the "relative directory"/"current working directory" used for RequestLogImpl's "fileName" property and "resource" property. For instance *<Set name="fileName">logback-access.xml</Set> doesn't work *<Set name="resource">logback-access.xml</Set> doesn't work *<Set name="resource">src/main/webapp/WEB-INF/logback-access.xml</Set> doesn't work I have placed my logback-access.xml in all kinds of different locations inside my project directory hierarchy, but it never gets found by RequestLogImpl. I hope you have a suggestion where I should put my logback-access.xml and how I should set the "fileName" and "resource" properties. Thank you in advance!