geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: Slf4j for java.util.logging fails to create logs
Date Thu, 13 Nov 2008 15:40:20 GMT
What API is your application using to log its messages? sl4j,
commons-logging, java.util.logging, or log4j?

Jarek

On Thu, Nov 13, 2008 at 9:40 AM, Hearty <heartyraphael@gmail.com> wrote:
>
> 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-tp20481626s134p20481626.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message