Hi, This might help: http://jakarta.apache.org/tomcat/faq/misc.html#commonsLoggingLog4j
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Hut Carspecken [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 20, 2004 5:52 PM >To: [EMAIL PROTECTED] >Subject: Use of Apache Commons Logging in Tomcat > >Hello There, > >I have a particular problem that someone may have seen before. I am >writing a web service using >Apache Axis 1.1 and I want to use Apache Commons to do my logging. I am >using Apache Commons in >the correct manner >import org.apache.commons.logging.Log >org.apache.axis.components.logger.LogFactory > >and then make an instance with the following line: > >private static Log log = LogFactory.getLog(MyClass.class.getName()) > >My problem is manipulating the log file configuration. I can't find the >log4j.properties which is >responsible for changing how the logging works. Also how does >org.apache.catalina.logger.FileLogger work so I can call different levels >of traces? I am pretty >sure that FileLogger is connected to Apache Commons Logging. > >Thanks! >Hut > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
