I have a Tomcat 5.5 log file, specifically stdout_[date].log in the ..\Tomcat 5.5\logs directory that grows to be 20 GB every 3-4 days and needs to be manully removed. I want to stop Tomcat from logging to the file at all, I do not need to log file and do not want the log file.
I have looked in the \Tomcat 5.5\conf directory and found the logging.properties file, but both editing and straight removing the file has not stopped the problem. FYI, tomcat was restarted after each change to the logging.properties file.
None of the other logging.properties on the system appear to have anything to do with the Tomcat 5.5.
I am unfamiliar with the operation of Tomcat and cleaning out this log file every day is getting really annoying. Any help is appreciated.
WIndows Server 2003 Standard x64
Example log entry:
Wed Aug 11 09:10:40 MST 2010 [INFO] [Thread-1][default] [RtListener.contextInitialized] Starting ...
Note: I think that it is using the JULI system, but I cannot confirm that as any of the changes to affect that logging has not worked.
Thomas James Ii
Joined: Aug 11, 2010
FYI, I figured this out.
In WIndows 2003 there is a little icon in the system tray that will open the "Apache Tomcat Properties" on the "Logging" tab there is a field labeled "Redirect Stdout". In my case it was set to "auto". I blanked the field, applied the changes, restarted Tomcat, and all was right with the world.
Thanks a lot for the information.
We also face the same issue. and found the paths in the server i.e. C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat\logs\stdout.log . Wanted to know if we remove this path , does it require to restart the tomcat every time after few days intervals. Why this file created with a big size where all messages are coming repeatedly and no such errors also inside it. Basically I wanted to know about this stdout . If possible kindly let us know.