geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hearty <heartyraph...@gmail.com>
Subject Logging framework using slf4j and juli
Date Fri, 31 Oct 2008 08:49:09 GMT

I am using slf4j and juli for logging. I am not able to see the logs creating
for my application.
I have specified the entry in geromino-web.xml as

  	<sys:gbean name="FPLogger"
class="org.apache.geronimo.system.logging.log4j.ApplicationLog4jConfigurationGBean">
        <sys:attribute
name="log4jFile">var/directory/logging.properties</sys:attribute>
        <sys:reference
name="ServerInfo"><name>ServerInfo</name></sys:reference>
    </sys:gbean>

and my logging.properties is as follows

handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler

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

org.apache.juli.FileHandler.level = ALL
org.apache.juli.FileHandler.directory =
${org.apache.geronimo.server.dir}/var/logs
org.apache.juli.FileHandler.prefix = fp.

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

Please advise me where I went wrong?
Thanks in advance.
-- 
View this message in context: http://www.nabble.com/Logging-framework-using-slf4j-and-juli-tp20261950s134p20261950.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message