You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Tim Johnson <Ti...@Sunquest.com> on 2001/10/31 23:31:59 UTC

Help using log4j

I noticed that TCPSender (samples.transport.tcp) uses log4j
to log debug messages. I would like to learn how to get those
debug messages to go to a file.

http://jakarta.apache.org/log4j/docs/manual.html#defaultInit

The above link has examples on how to setup TOMCAT to use 
log4j. Should I use one of those methods to get the debug
statements to go to a file? If so does someone have an example
of a configuration file or a properties file?