Title: how to stop logging (completely)

I cannot say how completely, but this has worked for me: (thanks to another axis-user)

 

# Set root logger level to DEBUG and its only appender to stdout.

log4j.rootLogger=DEBUG, stdout

 

# Set axis logger category to FATAL and its only appender to stdout. //Although I use ERROR

log4j.logger.org.apache.axis=FATAL, stdout

 

log4j.appender.stdout=org.apache.log4j.ConsoleAppender

log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

log4j.appender.stdout.layout.ConversionPattern=%d [%t] (%F %L) %-5p %c %x - %m%n

 

-----Original Message-----
From: Peake, Chris [mailto:[EMAIL PROTECTED]]
Sent
:
Friday, December 20, 2002 11:30 AM
To: [EMAIL PROTECTED]
Subject: how to stop logging (completely)

 

How do you stop logging 'any' messages completely with Axis?
I've tried several methods with the log4j.properties file.
It has been put in the web-inf\classes dir.

 

Basically, if the Web Service thows an exception, the Call.java 'invoke' method in line 1853 continues to log the exception via the statement:

        } catch (Exception e) {
            entLog.info(Messages.getMessage("toAxisFault00"), e);
            throw AxisFault.makeFault(e);
        }
These 'info' errors are still being written to 'stderr'.
We don't want 'any' reporting at this time.
No 'info' messages even.

Is this configurable?
Changeable?
etc?

Thanks,
 chris

 

Reply via email to