RE: log4j in tomcat

2002-07-31 Thread Charles N. Harvey III
I think I know what the problem is. To add log4j to Tomcat you added an extra parameter to either startup.bat or catalina.bat right? (I can't remember which one.) So when you start Tomcat from the start menu it reads the change you made in the file. Thing is, when Tomcat starts as a service it

RE: log4j in tomcat

2002-07-31 Thread Koes, Derrick
al Message- From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:01 AM To: Tomcat Users List Subject: RE: log4j in tomcat I think I know what the problem is. To add log4j to Tomcat you added an extra parameter to either startup.bat or catalina.bat right?

Re: log4j in Tomcat 4.x

2001-03-31 Thread Craig R. McClanahan
On Wed, 28 Mar 2001, Ceki [iso-8859-1] Gülcü wrote: > > Hello, > > I would like to inquire about the status of log4j in Tomcat 4.x, more > specifically in Catalina. I had heard through the grapevine that > Catalina was going to use log4j internally. Is this correct? Thanks > for any info on t

Re: log4j in tomcat erroring -- dont know why

2005-02-18 Thread Edmon Begoli
Brian, Are you calling PropertyConfigurator explicitly anywhere in your code? Brian McGovern wrote: Hi. I've got tomcat up and running and have a log4j.properties file in my WEB-INF\classes directory. My servlets and jsps run fine. No errors. Stdout.log shows this on servlet execution and i

RE: log4j in tomcat erroring -- dont know why

2005-02-18 Thread Brian McGovern
, 2005 5:51 PM To: Tomcat Users List Subject: Re: log4j in tomcat erroring -- dont know why Brian, Are you calling PropertyConfigurator explicitly anywhere in your code? Brian McGovern wrote: >Hi. I've got tomcat up and running and have a log4j.properties file in my >WEB-

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-05 Thread Pedro Nevado
In case it helps, this is what I do with Tomcat 5.0.28 (Win 2000 without installer, j2sdk1.4.2_04): - I do not put log4j.jar in commom/lib, but in the WEB-INF/lib of my web app. - I put log4j.xml (equivalent to log4j.properties) and commons-logging.properties in WEB-INF/classes of my app. The archi

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-05 Thread Jacob Kjome
Why do you use commons-logging in your application classes? I can see a semi-legitimate argument for a framework doing this, so as to not force a particular logging implementation on the user. However, you are the user. You choose the logging implementation. You have, obviously, chosen Log

Re: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-05 Thread Patrick Burleson
Thanks for that, but that's not exactly what I am asking for. I know that putting log4j into my webapp will work. What I want to do is to have Tomcat *itself* use log4j for logging statements. The messages I linked to say that it's very simple to do. Yet following the instructions, it doesn't work

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-06 Thread Pedro Nevado
Kjome [mailto:[EMAIL PROTECTED] Enviado el: domingo, 05 de septiembre de 2004 23:55 Para: Tomcat Users List Asunto: RE: Log4J in Tomcat 5.0...I don't believe the FAQ Why do you use commons-logging in your application classes? I can see a semi-legitimate argument for a framework doing this, so

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Shapira, Yoav
Hi, Hmm, it's possible that now that we've moved Tomcat's bootstrapping code to also use commons-logging, the impl lib is needed on the bootstrap classpath. I'll amend the FAQ entry to also link to this thread and give some though to updating the documentation-proper (as opposed to the FAQ) on th

Re: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Patrick Burleson
Yoav, Thanks for that update. With that explination I now have two questions, one of which is slightly off-topic: 1. The author of the message pointed to in the FAQ (can't get to the message archive at this moment for their name) says they used a stock 5.0.19 install on Windows and got it to work

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Shapira, Yoav
now has a separate section on logging with some additional/updated info. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Patrick Burleson [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 07, 2004 10:30 AM >To: Tomcat Users List >Subject: Re: Log4

Re: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Geoff
I went through all of these problems myself when I tried to get Log4j working as my system logger in Tomcat 5.0.27. I followed the directions in the FAQ but log4j was not being detected on bootup. I too modified the "catalina.sh" startup script and added the log4j.jar file to the classpath and even

Re: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Patrick Burleson
On Tue, 07 Sep 2004 13:02:27 -0400, Geoff <[EMAIL PROTECTED]> wrote: > > The correct way to install Log4j as your Tomcat 5.0 system logger is: > > 1) Shutdown Tomcat. > 2) Install commons-logging.jar into common/lib. > 3) Install log4j-1.2.8.jar into common/lib > 4) Create an appropriate log4j.pr

RE: Log4J in Tomcat 5.0...I don't believe the FAQ

2004-09-07 Thread Shapira, Yoav
Hi, No -- different answers apply to different Tomcat versions. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Patrick Burleson [mailto:[EMAIL PROTECTED] >Sent: Tuesday, September 07, 2004 3:11 PM >To: Tomcat Users List >Subject: Re: Log4J in