agree, it is better to specify org.apache.axis logger than rootLogger, the question was how to disable only axis logger.

oleg


Fontanel, Laurent wrote:


I use:

log4j.logger.org.apache.axis=WARN

It only leaves severe error messages in the log.

Laurent Fontanel
Global Crossing


-----Original Message----- From: oleg shteynbuk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 10:25 AM To: [EMAIL PROTECTED] Subject: Re: Logging in Axis


[EMAIL PROTECTED] wrote: you can set in log4j.properties smth. like this log4j.rootLogger=OFF, A1

note that server logging and client logging use different log4j.properties files.

actually Axis uses commons logging and log4j is the default logger for commons logging. Recently I have tried to insert into Axis code log4.j specific code and it did not pass unit tests with a message “test failed - dependency on log4j”.

oleg



Hi ,
Axis 1.1 Final uses log4j 1.2.8 . Is there any way in which to
disable axis to not do the logging.. Any help on this would be very useful..


Thanks in Advance
Sriram













Reply via email to