In the commons-logging.properties in the WEB-INF/classes folder, you can play around with the log config, and uncomment the first option and comment out the other two as I've shown below. To ensure that you don't have log4j problems, I'd get rid of the lo4j.jar from WEB-INF/lib. If you still have problems, get your web service to load from a log4j.properties that is named after your service (e.g. webservice-log4j.properties), so that you are guaranteed to not pick up a log4j.properties from another jar file or from WEB-INF/classes.

# Uncomment the next line to disable all logging.
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog

# Uncomment the next line to enable the simple log based logging
#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

# Uncomment the next line to enable log4j based logging
#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger


Louis Malenica wrote:
Hi all,

I am having issues with the web application I am developing, it seems to
not like the logging that Axis is doing (classloading permissions I
believe). Is there any way to completely switch off Axis logging?

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Anthony
------------------------------------- Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

[EMAIL PROTECTED]
Ph  +64 4 472 8818
Fax +64 4 472 8811
------------------------------------- www.bcsoft.co.nz --------------------------------------------------------------- This email may contain confidential or privileged information, and is intended for use only by the addressee, or addressees. If you are not the intended recipient please advise the sender immediately and do not copy, use or disclose the contents to any other person or organisation. Black Coffee Software Ltd accepts no responsibility for viruses received with this email, or to any changes made to the original content. Any views or opinions expressed in this email may be personal to the sender and are not necessarily those of Black Coffee Software Ltd. ---------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • Logging Louis Malenica
    • Re: Logging Anthony Bull

Reply via email to