PDA

View Full Version : log4j problems?


goodbobman
11-08-2004, 09:43 AM
Help for Newbie. Installed JDK and Laszlo Presentation Server on Windows XP Pro. When
I launch LPS, Tomcat window gives following error:

log4j:Warn No appenders could be found for logger (org.apahce.cataline.startup

log4j:Warn Please initialize the log4j system properly

How do I fix or initialize the file, and where do
I find it?

Many thanks

bloch
11-08-2004, 09:48 AM
This should be fixed in the next dot release for LPS.

It is, in general, not harmful. If you don't like the messages, you can drop the following log4j.properties into

$TOMCAT_HOME/common/classes/log4j.properties *and*
$LPS_HOME/WEB-INF/classes/log4j.properties

----

log4j.rootLogger=ERROR, A1
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternL ayout

# Print the date in ISO 8601 format
log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

log4j.logger.org.apache=INFO