[slf4j-user] Fine and finest messages do not get printed

Ceki Gulcu listid at qos.ch
Tue Jul 29 11:44:41 CEST 2008


Hi Victor,

I reckon that the jul logger is configures to suppress message of level "FINE*". 
Try setting the level of the root (jul) logger.

HTH,

Victor Bucutea wrote:
> Hi ,
> 
> 
> I'm using the folowing jar files :
> 
> 
> log4j-1.2.15.jar
> slf4j-api-1.5.2.jar
> jul-to-slf4j-1.5.2.jar
> lsf4j-log4j.jar
> 
> 
> Log4j system is configured ok and runs quite well .
> The problem is that a code like bellow :
> 
> 
>         SLF4JBridgeHandler.install();
>         java.util.logging.Logger logger =
> java.util.logging.Logger.getLogger("ro.softspot");
>         logger.info("info name");
>         logger.finer("finer message");
>         logger.warning("warning message");
>         logger.fine("fine message");
>         logger.finest("Finest name");
> 
> prints out :
> 
> 
> [29-07-08 12:03:54.792][ro.softspot][ INFO][setName] - info name
> [29-07-08 12:03:54.792][ro.softspot][ WARN][setName] - warning message
> 
> the logs with "fine" and "finer" and "finest" level are omitted .
> Any ideas why this is happening ?
-- 
Ceki Gülcü

QOS.ch is looking to hire talented developers located in Switzerland
to work on cutting-edge software projects. If you think you are
qualified, then please contact ceki at qos.ch.



More information about the slf4j-user mailing list