Can anyone see a problem with my log4j configuration? This exact same configuration works fine on another project, and if I change the appender to a ConsoleAppender then the output *does* get logged to stdout, but for some reason this configuration simply writes an empty log file named "tests.log":
# Set root logger level, and its only appender to A1. log4j.rootLogger=DEBUG, A1
# But ignore most messages from Apache libs log4j.logger.org.apache=WARN
# A1 is set to be a FileAppender.
log4j.appender.A1=org.apache.log4j.FileAppender
log4j.appender.A1.File=tests.log
#log4j.appender.A1.File=${test.output.log}
log4j.appender.A1.Append=false# A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
anybody have a suggestion?
Thanks,
Erik
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
