Thanks for your help!

It's not fixed yet, see below for my actions so far:

Shapira, Yoav wrote:
Add -Dlog4j.debug=true to your JAVA_OPTS when launching tomcats.  Log4j
will then output internal debugging information to
$CATALINA_HOME/logs/catalina.out.  Perhaps that will tell you something
useful, especially when you see the output generated when log4j is
rolling files over.

Ok, I started with that.
It took me a few minutes to understand that the log was actually sent to the console, not to catalina.out. Did I do something wrong?
So I added a $CATALINA_HOME/bin/setenv.bat file containing the value, and launched startup.bat.


Anyway, next, without changing anything in the log configuration, I filled the current file (luckily it was almost to the top), and it worked perfectly. Rotated and all.
So I changed the max size to 10 KiB, and tried again a few times. No problem.


Darn.

Now, Tomcat is normally started as a Windows service, not by using the script. What can I do to get log4j's logs to a file?

Thanks in advance!

Laurent


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



Reply via email to