This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes logging system.out statements Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "logging system.out statements" Watch "logging system.out statements" New topic

logging system.out statements

Dave Bosky
Ranch Hand

Joined: Dec 16, 2003
Posts: 72
How can I send my 'System.out.println(mystuff)' statements to the 'stdout.log' logfile? For some reason I can't write anything to either 'stderr.log' or 'stdout.log' logfiles.

What changes do I need to make to the tomcat5/conf/server.xml file?
It was working fine with Tomcat 4++ but I installed Tomcat 5 and now it doesn't log anything.

It is sorta covered in the JavaRanch Style Guide.
subject: logging system.out statements
Similar Threads
Tomcat doesn�t write to stdout
sessionDestroyed works, but not sessionCreated
Actions executed three times
Tomcat stdout File size control
System.out.println in Tomcat