• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Turn off STDOUT logging in Tomcat 5.5

 
Thomas James Ii
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Environment:
WIndows Server 2003 Standard x64
Tomcat 5.5

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
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Satchidananda Mohanty
Ranch Hand
Posts: 78
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mr. Thomas,

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.

Thanks a lot once again,
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That post was about 2 years old.

Considering the dynamic nature of software development, I don't know if there's anyone still there listening.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic