Erik Price wrote:
Hi,

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":

Pardon me. With Inder's help I was able to deduce that the problem is that my unit tests were overwriting the file. I had forgotten that the "append=false" setting is ideal in [my] production environment, but in testing, it doesn't help very much for generating logs!! ;)





Erik



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to