Hi,
Added to the FAQ (misc section).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Friday, May 28, 2004 6:12 PM
To: Tomcat Users List
Subject: Re: Log4j Problem w/Tomcat 5.0.24 and JSVC
Ok this time I got
After hours of messing around trying to get the log4j to initialize with
tomcat here's what you need to do:
Put the log4j jar file into $CATALINA_HOME/common/lib, and your
log4j.properties or log4j.xml into $CATALINA_HOME/common/classes. Then
modify your tomcat jsvc classpath variable to look
, 2004 2:53 PM
To: Tomcat Users List
Subject: Re: Log4j Problem w/Tomcat 5.0.24 and JSVC
After hours of messing around trying to get the log4j to initialize with
tomcat here's what you need to do:
Put the log4j jar file into $CATALINA_HOME/common/lib, and your
log4j.properties or log4j.xml
...
*sigh* lol.
-David
- Original Message -
From: Filip Hanik (lists) [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, May 28, 2004 2:02 PM
Subject: RE: Log4j Problem w/Tomcat 5.0.24 and JSVC
After hours of messing around trying to get the log4j to initialize
the classpath and
stuff set correctly =)
-David
- Original Message -
From: David Erickson [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, May 28, 2004 2:31 PM
Subject: Re: Log4j Problem w/Tomcat 5.0.24 and JSVC
Believe me I looked through the archives.. this post
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
-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
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
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
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
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 use a servlet context repository selector, but
the above
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
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
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
-
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
, 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
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
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
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
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
Some application uses the Log4J system, but it has non ben initialized. Are
you using it? If yes, post here your code of initialization.
-Mensaje original-
De: Sébastien Col [mailto:[EMAIL PROTECTED]]
Enviado el: martes, 17 de septiembre de 2002 1:08
Para: [EMAIL PROTECTED]
Asunto: log4j
This is part of the mystery, I'm not using it... I installed the Tomcat
4.0.4 and I don't have this problem.
- Original Message -
From: Miguel Angel Mulero Martinez [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, September 17, 2002 2:25 AM
Subject: RE: log4j
22 matches
Mail list logo