how far back you can go i am not sure, probably as far as commons logging support.
there is nowhere in the Axis code referenses to log4j it will not pass unit testing,
i have tried it, see my previous message.
setting level to OFF will eventually come down to an if statement to test the level, and depending on the level: to output or not to output.
[EMAIL PROTECTED] wrote:
Hi ,
Thanks for the replies..
The problem right now we are facing is that my application(which
uses Axis) uses log4j older version and axis uses log4j 1.2.8
And some of the other appplications in our production environment
uses log4j older version.
Is there any way i can disable the Axis Code from referencing any of
the Log4j classes. By setting log4j.rootLogger=OFF, A1 in the log4j properties
file... will this help in this case.
Thanks in Advance
Sriram
-----Original Message----- From: oleg shteynbuk [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 10. September 2003 17:12 To: [EMAIL PROTECTED] Subject: Re: Logging in Axis
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
