Hey Lenny,
I'm new to log4j but I think you are missing a rootLogger statement that ties your 
logger to the appenders.  At least that's the way I take it.

Check this link out.. http://jakarta.apache.org/log4j/docs/manual.html.  I found it 
extremely useful for getting log4j up and running.

Also there is a log4j mailing list (mailto:[EMAIL PROTECTED]) that 
would probably be more beneficial to you than this list for this topic.

Hope this helps!
Ty

Ty Hill
Proteus
tel�[202.452.6800] [202.452.6866] fax
http://www.proteus.com


-----Original Message-----
From: Lenny Sorey [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 09, 2002 3:55 PM
To: Tomcat Users Group
Subject: log4j:ERROR No appenders could be found for category 
(org.apache.commons.digester.Digester).


The following error is shown in Tomcat 4.1.3 Stderr.log 

log4j:ERROR No appenders could be found for category 
(org.apache.commons.digester.Digester).
log4j:ERROR Please initialize the log4j system properly.


*****************************************************************************************************************************
log4j.properties under the WEB-INF Subdirectory is as follows:

# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=DEBUG, A1
  
# A1 is set to be a ConsoleAppender. 
log4j.appender.A1=org.apache.log4j.ConsoleAppender
  
# A1 uses PatternLayout.
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n

*****************************************************************************************************************************
   

Anyone got any suggestions as why log4j is not initializing properly?

Platform is as follows:

Windows 2000 Professional
J2SDK 1.4.0
Tomcat 4.1.3
Log4j Version 1.1.3
Turbine 2.1b4
Velocity -1-2 dev jar

Thanks In Advance

Lenny Sorey



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to