geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hearty <>
Subject How to configure slf4j with apache geronimo
Date Wed, 05 Nov 2008 08:41:21 GMT

I am using apache geronimo. When I've tried to deploy my application (war
file) and try to run the application my logs are not creating under the
specified location.

I am using slf4j internally. The following jar files are specified under
web-inf/lib location of my application.
I have put under web-inf/lib as well as web-inf/classes

My is as follows

log4j.rootLogger=INFO, logFile
log4j.appender.logFile.layout.ConversionPattern=%d{dd/MM/yy HH:mm:ss} %-5p
[%t] %c{2} - %m%n

The logs are not creating under the location mentioned in I am also hiding the jar files in geronimo-web.xml using
<hidden-classes> tag [which avoid the loading classes from the parent class

I am getting the following warning message in server console

log4j:WARN No appenders could be found for logger
log4j:WARN Please initialize the log4j system properly.

Please advise how to fix this issue.

Thanks in advance
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message