| Author |
Tomcat 5.5 complains about missing log.properties
|
Florian Anwander
Greenhorn
Joined: Jan 08, 2009
Posts: 2
|
|
Hello everybody,
Our application requires Tomcat 5.5, which is not provided by us, but installed by the customers themselves. On MS-Windows installations it happens often (~15% of all Windows installations) that there is no localhost<date>.log written, but the stdout<date>.log shows the following message after startup:
Our own webapplication logs fine to the logfile definied in its own log4j-configuration and
the stdout<date>.log, stderr<date>.log and jakarta<date>.log are written to %TOMCAT%\logs\
Why is the tomcat looking at these installations for a log.properties in the C:\WINDOWS\system32 tree? (I know it is the directory from where the service is started, but other tomcats started as Service do not show this behaviour).
And how should this log.porperties look like? Should it be a copy of %TOMCAT%\conf\logging.properties?
I'd like to thank in advance for any help!
Best regards, Florian Anwander
|
 |
Florian Anwander
Greenhorn
Joined: Jan 08, 2009
Posts: 2
|
|
Hello,
Florian Anwander wrote:Why is the tomcat looking at these installations for a log.properties in the C:\WINDOWS\system32 tree?
No one got no idea at all?
Regards Florian
|
 |
Daesung Park
Ranch Hand
Joined: Mar 22, 2007
Posts: 68
|
|
Your tomcat was started with a wrong path of logging.properties.
Check your catalina.sh(or .bat) file. Make sure to set -Djava.util.logging.config.file to path of logging.properties in %tomcat%/conf.
|
Daesung Park
BLOG
|
 |
 |
|
|
subject: Tomcat 5.5 complains about missing log.properties
|
|
|