The mystery is that the file is nowhere to be found.. I can search the entire directory structure for any .log file and it finds everthing "but".. The file does not exist on the machine...

?????

John...

Wendy Smoak wrote:

John wrote:


In previous versions of Tomcat the Log4j log file was alway placed relative to the parent Tomcat directory..
Therefore a setting of..
log4j.appender.R1.File=logs/somename.log
.. would place "somename.log" into the Tomcat/logs directory.
In the latest Tomcat this is not happening



I found that with just a filename, the logs wanted to go to the Tomcat 'bin' directory. I start Tomcat with 'catalina start' from that directory. So I use:

log4j.appender.daily.File=../logs/bendev.log



Reply via email to