File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data 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