[slf4j-user] Slf4j for java.util.logging fails to create logs

Hearty heartyraphael at gmail.com
Thu Nov 13 15:38:11 CET 2008


I am using apache geronimo as application server and the jar file I've used
is slf4j-jdk14-1.5.0.jar,slf4j-api-1.5.0.jar,log4j-1.1.3.jar

My logging.properties file is as follows


handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

java.util.logging.FileHandler.level = ALL

# Naming style for the output file:
# (The output file is placed in the directory
# defined by the "user.home" System property.)
java.util.logging.FileHandler.pattern=%h/java%u.log


# Number of output files to cycle through, by appending an
# integer to the base file name:
java.util.logging.FileHandler.count=1 


java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
com.telelogic.focalpoint.level = INFO
com.telelogic.focalpoint.dao.jdbc.Jdbc.level = OFF
com.telelogic.focalpoint.dao.ViewExecutor.level = OFF
org.apache.catalina.level = INFO      
org.springframework.level = INFO
net.sf.ehcache.distribution.level = INFO

My logging.properties is under WEB-INF/classes folder

Please advise me where I went wrong?
-- 
View this message in context: http://www.nabble.com/Slf4j-for-java.util.logging-fails-to-create-logs-tp20481623p20481623.html
Sent from the Slf4J - user mailing list archive at Nabble.com.




More information about the slf4j-user mailing list