Re: stop tomcat's logging in application's log
On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > log4j.jar is in webapps/MyApp/WEB-INF/lib > You might have log4j jar and config files somewhere else in common or server folders. With TC 5.5.11 I have no problem with my application. I am developing a sample application that uses log4j(from Spring framework). If you want it I can send it to you as WAR file for testing. NOTE: If you use any framework like Struts,Spring etc.. it will log into your applications log4j config. > > > -Original Message- > > From: Anto Paul [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 21, 2005 11:55 AM > > To: Tomcat Users List > > Subject: Re: stop tomcat's logging in application's log > > > > > > On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > > > > > > hi, > > > > > > I am using Log4j in application for logging. > > > I have placed log4j configuration file(log4j.xml) in my > > > application's WEB-INF/classes folder. > > > > > > But the file in which I am taking all logs is filled with tomcat's log > > > along with my application's log. > > > > > > Is there any way I can see only my application's log in my log file ? > > > > > > > Where is the log4j.jar ?. > > Some documents are available. > > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html > > > > http://jakarta.apache.org/tomcat/faq/logging.html > > > > > > -- > > rgds > > Anto Paul > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: stop tomcat's logging in application's log
log4j.jar is in webapps/MyApp/WEB-INF/lib > -Original Message- > From: Anto Paul [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 21, 2005 11:55 AM > To: Tomcat Users List > Subject: Re: stop tomcat's logging in application's log > > > On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > > > > hi, > > > > I am using Log4j in application for logging. > > I have placed log4j configuration file(log4j.xml) in my > > application's WEB-INF/classes folder. > > > > But the file in which I am taking all logs is filled with tomcat's log > > along with my application's log. > > > > Is there any way I can see only my application's log in my log file ? > > > > Where is the log4j.jar ?. > Some documents are available. > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html > > http://jakarta.apache.org/tomcat/faq/logging.html > > > -- > rgds > Anto Paul > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: stop tomcat's logging in application's log
On 9/21/05, rahul <[EMAIL PROTECTED]> wrote: > > hi, > > I am using Log4j in application for logging. > I have placed log4j configuration file(log4j.xml) in my > application's WEB-INF/classes folder. > > But the file in which I am taking all logs is filled with tomcat's log > along with my application's log. > > Is there any way I can see only my application's log in my log file ? > Where is the log4j.jar ?. Some documents are available. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html http://jakarta.apache.org/tomcat/faq/logging.html -- rgds Anto Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
stop tomcat's logging in application's log
hi, I am using Log4j in application for logging. I have placed log4j configuration file(log4j.xml) in my application's WEB-INF/classes folder. But the file in which I am taking all logs is filled with tomcat's log along with my application's log. Is there any way I can see only my application's log in my log file ? --RahulJoshi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]