[slf4j-user] Passing logger config to slf4j API

Ceki Gulcu ceki at qos.ch
Fri Jun 26 11:39:55 CEST 2009


Hello Thomas,

Configuration is not part of SLF4J. As for the logback configuration, please see

   http://logback.qos.ch/manual/configuration.html

HTH,

Thomas Laubscher wrote:
> 
> Hi
> 
> I tried to migrate fom log4j to slf4j and logback.
> I used the migration tool, but this didn't change:
> 
> 'PropertyConfigurator.configureAndWatch(<configfile>,<period>);
> 
> How can I pass the logger configuration (which now is an XML-file) using the slf4j API?
> 
> Thanks,
> Thomas
> 

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch



More information about the slf4j-user mailing list