You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Cribb <Ja...@zoom.com.au> on 2000/10/05 02:07:35 UTC

Merge the three log files?

Is there a way to make Tomcat 3.1 write all log messages to a single file?

When I tried simply changing server.xml so that the three Logger path
attributes (for tc_log, servlet_log and JASPER_LOG) to all pointed to the
same file, the messages partially overwrote each other and the log file
ended up a mess.

There is no mention of Logger anywhere in the appdev docs, and only a brief
mention in the uguide.  It's not even mentioned in the server.dtd.  The
comment in server.xml says the Logger is "quite flexible" and hints that a
unified log file is possible.  So what's the secret??