logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerold kathan <ger...@kathan.at>
Subject Re: How to use log4j (log4j.xml) and Maven and Junit??
Date Sat, 24 Feb 2007 13:29:42 GMT
hi - i have exactly the same issue:
* i did what you mentioned (1-3)
* yes it copies the log4j.xml to the right place under src/test/
* BUT the testrunner the complains that it cannot find the file under the 
projects root directory (where also the pom.xml sits)

log4j:ERROR Could not parse file [log4j.xml].
java.io.FileNotFoundException: D:\_devel\_java\_workspace\springtest\log4j.xml 

=> but he should look under


=> the call from the java source to the log4j.xml looks like
        logger = Logger.getLogger(AppTest.class);

strange - any hints on that ?

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message