RE: Log4j problem mixing 2 apps

2003-06-29 Thread Mayne, Peter
Title: RE: Log4j problem mixing 2 apps Don't put log4j in the classpath for Eclipse. Instead, right-click on your project, select Properties, and goto Java Build Path. Add the log4j library to the build path. PJDM -- Peter Mayne Technology Consultant Spherion Technology Solutions Level 1

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Donie Kelly
-Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 16:56 To: Tomcat Users List Subject: Re: Log4j problem mixing 2 apps OK, I removed the jar file from common/lib and put copies in each WEB-INF/lib and it works as expected. Thanks again, Donie, be sure you don't

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Deepak Nagpal
Hi New to servlets. could anybody tell me what is log4j and about its usage. Thanks and Regards Deepak -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:17 PM To: 'Tomcat Users List' Subject: RE: Log4j problem mixing 2 apps OK, I think I see

Re: Log4j problem mixing 2 apps

2003-06-27 Thread Holger Klawitter
Am Freitag, 27. Juni 2003 12:04 schrieb Deepak Nagpal: Hi New to servlets. could anybody tell me what is log4j and about its usage. log4j ist not servlet specific, it can be used for any java based project. It's a system helping you creating configurable logs. See http://jakarta.apache.org

RE: Log4j problem mixing 2 apps

2003-06-27 Thread Shapira, Yoav
PROTECTED] Sent: Friday, June 27, 2003 6:04 AM To: Tomcat Users List Subject: RE: Log4j problem mixing 2 apps Hi New to servlets. could anybody tell me what is log4j and about its usage. Thanks and Regards Deepak -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED] Sent: Friday, June 27

Log4j problem mixing 2 apps

2003-06-26 Thread Jim Lynch
I've two different applications running, using log4j to log. For some reason output destined for one app gets in the others log. It looks like only one application can have a log at a time. What might I have done to cause this problem? It looks like the application that has been deployed last

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Shapira, Yoav
should be sufficient. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 9:41 AM To: tomcat Subject: Log4j problem mixing 2 apps I've two different applications running, using log4j to log. For some reason

Re: Log4j problem mixing 2 apps

2003-06-26 Thread Vladimer Shioshvili
easiest solution is to use log4j in the context scope, instead of application scope. meaning that you put your log4j.jar file in web-inf/lib of every context, instead of some central location. each application will have to configure the logger separately after that, and you will have no

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Donie Kelly
PROTECTED] Sent: 26 June 2003 14:48 To: Tomcat Users List Subject: Re: Log4j problem mixing 2 apps easiest solution is to use log4j in the context scope, instead of application scope. meaning that you put your log4j.jar file in web-inf/lib of every context, instead of some central location. each

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Prabhat Kumar (IT)
To: Tomcat Users List Subject: RE: Log4j problem mixing 2 apps Howdy, Make sure the log4j jar is in each app's WEB-INF/lib directory, not in tomcat's common/lib directory. Make sure each app has its own configuration files and that the log files for the apps are different. Alternatively, you could

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Shapira, Yoav
- From: Prabhat Kumar (IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 1:14 PM To: Tomcat Users List Subject: RE: Log4j problem mixing 2 apps Alternatively, you could use a servlet context repository selector, but the above should be sufficient. Curious about what you mean

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Prabhat Kumar (IT)
, June 26, 2003 1:27 PM To: Tomcat Users List Subject: RE: Log4j problem mixing 2 apps Howdy, See http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/spi/Repository Selector.html and then the sandbox implementations at http://cvs.apache.org/viewcvs/jakarta-log4j-sandbox/src/java/org/apache

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Shapira, Yoav
Howdy, I read Ceki's article at http://qos.ch/logging/sc.html . Tomcat already has an implementation of the CRS, right? Is there a how-to document somewhere that explains how to configure Tomcat to use it? No to the first question, and therefore no to the second one as well. Yoav Shapira

RE: Log4j problem mixing 2 apps

2003-06-26 Thread Joe Reger, Jr.
Thanks to all for the recommendations. Good reading. Bottom line goals I have: 1) All exceptions logged through one package... jsp compilation errors, sql errors... errors that are caught by try/catch... errors that are not caught by try/catch... debug and trace that coders write... 2) I want

Re: Log4j problem mixing 2 apps

2003-06-26 Thread Tim Shaw
to the same location. Donie -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 14:48 To: Tomcat Users List Subject: Re: Log4j problem mixing 2 apps easiest solution is to use log4j in the context scope, instead of application scope. meaning that you put your

Re: Log4j problem mixing 2 apps

2003-06-26 Thread Jim Lynch
Subject: Re: Log4j problem mixing 2 apps easiest solution is to use log4j in the context scope, instead of application scope. meaning that you put your log4j.jar file in web-inf/lib of every context, instead of some central location. each application will have to configure the logger separately