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
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?
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
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
, 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-
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo