Mysterious Error with Tomcat and Log4J

2005-07-15 Thread Peter . Zoche
Hi! I encountered a very mysterious problem using log4j with tomcat 5.5.9. I have the file "commons-logging.properties" in my WEB-INF/classes directory with the following content: orr.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory Log I did not notice my mistake in wri

RE: Tomcat and Log4J

2003-12-18 Thread Andy Eastham
From: Kent Boogaart [mailto:[EMAIL PROTECTED] Sent: 18 December 2003 04:45 To: '[EMAIL PROTECTED]' Subject: RE: Tomcat and Log4J > Howdy, Your problem is not log4j, it's commons-logging, which is nearly always the culprit. The issue arises if log4j is in a classloader be

RE: Tomcat and Log4J

2003-12-18 Thread Shapira, Yoav
Howdy, I could rant on this issue for a long time, but I'll stick to three points. >Thanks for the advice. I tried using Log4J directly by one of my classes >and, like you said, it worked. Ahh, good, a simple setup that works. >However, I wanted to stick with commons >logging since this is (sup

RE: Tomcat and Log4J

2003-12-17 Thread Kent Boogaart
> Howdy, Your problem is not log4j, it's commons-logging, which is nearly always the culprit. The issue arises if log4j is in a classloader below commons-logging, so > commons-logging doesn't know log4j is there. You're configuring log4j OK, and if you used a log4j Logger rather than a commons-logg

RE: Tomcat and Log4J

2003-12-17 Thread Shapira, Yoav
ogaart [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 17, 2003 12:07 AM >To: '[EMAIL PROTECTED]' >Subject: Tomcat and Log4J > >All, > >I have been trying all day to get Tomcat and Log4J to cooperate. I have >looked through many posts to this mailing list but ha

Re: Tomcat and Log4J

2003-12-17 Thread Lucian Comanescu
eful, Lucian. > All, > > I have been trying all day to get Tomcat and Log4J to cooperate. I have > looked through many posts to this mailing list but have been unable to > find > any extra information that helps me. > > I am running Tomcat 4.1.27 on a Windows 2000 machine.

Tomcat and Log4J

2003-12-16 Thread Kent Boogaart
All, I have been trying all day to get Tomcat and Log4J to cooperate. I have looked through many posts to this mailing list but have been unable to find any extra information that helps me. I am running Tomcat 4.1.27 on a Windows 2000 machine. My web app has log4j-1.2.8.jar in its WEB-INF/lib

RE: tomcat and log4j

2003-07-02 Thread Shapira, Yoav
anual. There's no magic here ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Dean A. Hoover [mailto:[EMAIL PROTECTED] >Sent: Wednesday, July 02, 2003 3:30 PM >To: Tomcat Users List >Subject: Re: tomcat and log4j > >Did that, don't se

Re: tomcat and log4j

2003-07-02 Thread Dean A. Hoover
l see them there. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:34 PM To: Tomcat Users List Subject: Re: tomcat and log4j OK, so I changed the file to /tmp/xxx.log and it still does not show up.

RE: tomcat and log4j

2003-07-02 Thread Shapira, Yoav
PM >To: Tomcat Users List >Subject: Re: tomcat and log4j > >OK, so I changed the file to /tmp/xxx.log >and it still does not show up. Any other >suggestions? > >Dean > >Shapira, Yoav wrote: > >>Howdy, >>You're not going to have file write access to

Re: tomcat and log4j

2003-07-02 Thread Dean A. Hoover
ation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 8:03 PM To: Tomcat Users List Subject: Re: tomcat and log4j Thanks for responding. I'm just going by what it says in the log4j manual: "Th

RE: tomcat and log4j

2003-07-01 Thread Shapira, Yoav
L PROTECTED] >Sent: Monday, June 30, 2003 8:03 PM >To: Tomcat Users List >Subject: Re: tomcat and log4j > >Thanks for responding. I'm just going by what it says in the log4j >manual: > >"The default log4j initialization is particularly useful in web-server >environm

Re: tomcat and log4j

2003-07-01 Thread Holger Klawitter
Am Dienstag, 1. Juli 2003 02:03 schrieb Dean A. Hoover: > Thanks for responding. I'm just going by what it says in the log4j > manual: > > "The default log4j initialization is particularly useful in web-server > environments. Under Tomcat 3.x and 4.x, you should place the > > |log4j.properties| und

Re: tomcat and log4j

2003-06-30 Thread Dean A. Hoover
Thanks for responding. I'm just going by what it says in the log4j manual: "The default log4j initialization is particularly useful in web-server environments. Under Tomcat 3.x and 4.x, you should place the |log4j.properties| under the |WEB-INF/classes| directory of your web-applications. Log4j

Re: tomcat and log4j

2003-06-30 Thread Yoav Shapira
Howdy, It does work if you place logj4.properties in WEB-INF/classes and log4j.jar in WEB-INF/lib. If you could please be a bit more explicity when you say "This does not seem to be working" perhaps I could help more. Yoav Shapira --- "Dean A. Hoover" <[EMAIL PROTECTED]> wrote: > I want to use l

tomcat and log4j

2003-06-30 Thread Dean A. Hoover
I want to use log4j inside a tomcat application. According to the log4j short manual, all I have to do is drop my log4j.properties file into WEB-INF/classes and then I can just use it. This does not seem to be working. Can someone help? Thanks. Dean Hoover

config file, tomcat and log4j

2001-05-08 Thread teh j
Hello there This is a little question regarding tomcat, and logging while using it. I am currently using Log4j with Tomcat with an external log4j.properties file that holds logging priority information(eg log only warn priority statements and below or log only error priority statments and above)