----- Original Message -----
From: "Hugh Ferguson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 14:50
Subject: Trouble with logging in axis



> I borrowed from numerous examples, and use the LogFactory to get a class.
> I've removed the log4j.properties file from the axis.jar and have my own
> which does vary the output.  When I set my root category to DEBUG, I can
see
> reams of debug info, just not the debug statements I planted.
>
> Here is the config for log 4j:
> # Set root category priority to INFO and its only appender to CONSOLE.
>
> log4j.rootCategory=INFO, CONSOLE, LOGFILE
>
> # Set the enterprise logger category to FATAL and its only appender to
> CONSOLE.
> log4j.logger.org.apache.axis.enterprise=FATAL, CONSOLE
> # I added these but they don't make any difference.
> log4j.logger.com.gwvas.soap=DEBUG, CONSOLE, LOGFILE
> log4j.logger.system.out=DEBUG, CONSOLE, LOGFILE

(1) dont replicate the CONSOLE statement or you get double the stuff
(2)  hide all the axis debug info with
log4j.logger.org.apache.axis=INFO


Reply via email to