Adding something like the following to your log4j.properties file should start doing the trick.
log4j.logger.org=ERROR


I believe the above configuration sends all org.* Loggers to the "ERROR" log, which seems to have a verbosity to log nothing more trivial than an error.

Rommel Sharma wrote:

Hi,

I am using Log4j apis for custom logging specific to my code but in the log
file, a lot of Axis logging is being appended, with loads of details of the
SOAP response that I do not want to see, as it is also eating on my space
each time thelog file is made.

How can I have only my log comments printed, and disable the Axis log
comments?

Thanks in advance,
Rommel.

*********************************************************
Disclaimer

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this
message, or the taking of any action based on it, is strictly prohibited.


*********************************************************
Visit us at http://www.mahindrabt.com










Reply via email to