Write Tomcat 5.5 output to one of Tomcat's log files

Posted by Spiderman on Stack Overflow See other posts from Stack Overflow or by Spiderman
Published on 2010-05-26T08:43:16Z Indexed on 2010/05/26 10:51 UTC
Read the original article Hit count: 369

Filed under:
|
|

I'd like that all the output that is shown in Tomcat's console will be saved into a file including the output on startup and shutdown of Tomcat.
How can I do this?
I looked at apache documentation about logging, Do I need to change something in the logging.properties can I trust log4j to write message from the first message on startup to the last message on shutdown?

© Stack Overflow or respective owner

Related posts about java

Related posts about logging