Use <Logger /> element in server.xml regards Padmanava -----Original Message----- From: raju punith [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: tomcat init
Hi everyone, we ar running tomcat 4.0 and our application is working fine, but recently we introduced logging facility using Log4j. i need to execute the init() (static method) of Log4j class once when the tomcat is started ? i looked at the archive but could not find any solution , i could read about web.xml using the tag <load-on-start> but the problem is Log4j class is not a servlet. any help would be much appreciated. regards Raju __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ********************************************************************** The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error. ********************************************************************** ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
