At 12:24 PM 8/7/2003 -0400, you wrote:
Jake,
Thanks for your thoughts.
I do have the log4j.jar file in the CATALINA_HOME/common/lib and the
WEB-INF/classes as well.
I assume you meant WEB-INF/lib, not WEB-INF/classes. The latter is the
place for log4j.xml while the former is the place for
Can anyone see anything wrong with this log4j.xml file? For some reason I
cannot get lof4j to initialize and it's driving me crazy. I am sure it is
something I am doing wrong but I can't seem to locate the problem.
The error message I am getting is:
No appenders could be found for logger.
What exactly is the current problem you are having? Just add log4j.jar to
WEB-INF/lib and log4j.properties or log4j.xml to WEB-INF/classes and you
are ready to go. There are a couple of other options that are more
advanced, but this should get you going for now.
Jake
At 06:39 PM 8/6/2003
Looks like that didn't make it either. Not sure why? You can send it
directly to me. Just grab my email from the mail headers. Or you can just
copy and paste it directly into the email rather than have it as an
attachment. That might be better so others can see it as well.
Jake
At 03:20
Sorry about that.
Here you go.
Thanks again.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 3:17 PM
To: Log4J Users List
If you want to attach something to the list, put it in a zip file first and
attach that. Other attachments are
Hi,
Trying to use log4j in Tomcat environment. Seen loads of messages on
this but haven't got
Much useful stuff from them. Could someone direct me to an appropriate
resource.
Thanks
KB
Jake,
Thanks for your thoughts.
I do have the log4j.jar file in the CATALINA_HOME/common/lib and the
WEB-INF/classes as well.
I am not getting any logging either. The application is supposed to write
to a file and does not.
The problem appears to be that log4j is not starting due to the
Jake,
Here is a copy of my log4j.xml file. Let me know if you see anything
unusual or that may be contributing to my problems.
I did mean that my log4j.jar file is in the WEB_INF/lib directory.
Everything is where is belongs.
Thanks again.
-Original Message-
From: Jacob Kjome
I am getting a startup error now on Log4J that is hopefully leading me to a
solution. The error is:
Log4j: WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax). Please initialize the log4j
system properly.
I am currently running Tomcat 4.1.27 on
I see that error in Tomcat5 as well. I assume you have log4j.jar in
CATALINA_HOME/common/lib? Did you also add log4j.jar to WEB-INF/lib of
your application? If not, do that and make sure your log4j.xml is in
WEB-INF/classes. Everything should work fine for you. The error is
10 matches
Mail list logo