[logback-user] mvn test not finding my logback.xml
cinhtau
cinhtau at gmail.com
Thu Feb 10 10:07:23 CET 2011
cindys wrote:
>
> I was hoping that someone would have a suggestion on where the logback.xml
> is supposed to go or if there is some way of telling maven to use a
> specific directory as a "classpath"? I'm a maven newbie.
>
> Thanks!
> Cindy
>
Dear Cindy,
logback.xml should be in src/main/resources
logback-test.xml shoult be in src/test/resources
Maven copies the xml files to target/classes where the test is run.
Have also a look on http://logback.qos.ch/manual/configuration.html
--
View this message in context: http://old.nabble.com/mvn-test-not-finding-my-logback.xml-tp30648095p30890500.html
Sent from the Logback User mailing list archive at Nabble.com.
More information about the Logback-user
mailing list