Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes Turn off STDOUT logging in Tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Turn off STDOUT logging in Tomcat 5.5" Watch "Turn off STDOUT logging in Tomcat 5.5" New topic

Turn off STDOUT logging in Tomcat 5.5

Thomas James Ii

Joined: Aug 11, 2010
Posts: 2
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 file, but both editing and straight removing the file has not stopped the problem. FYI, tomcat was restarted after each change to the file.

None of the other 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
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

Joined: Aug 11, 2010
Posts: 2
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

Joined: Mar 12, 2008
Posts: 77

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,


SCJP 6.0
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Turn off STDOUT logging in Tomcat 5.5
jQuery in Action, 3rd edition