if this is your log4j.properties:

On 02/12/2005, at 6:40 AM, Burton Strauss wrote:

log4j.rootLogger=debug,test


log4j.appender.test=org.apache.log4j.DailyRollingFileAppender

log4j.appender.test.Append=false

log4j.appender.test.File=testbed.log

log4j.appender.test.layout=org.apache.log4j.SimpleLayout


And you're getting output on the consoled, then I would suggest that your test is not actually configuring with the above property file, because there is no ConsoleAppender defined, I'm not sure how you're getting your test output!  :)

Add:
log4j.debug=true

In your property file and make sure you see log4j initialization output on the console, that will show you it setting up the file appender.

Paul

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to