[slf4j-user] Passing logger config to slf4j API

Thomas Laubscher thomas.laubscher at intersys.ch
Fri Jun 26 09:56:14 CEST 2009


 

-----Ursprüngliche Nachricht-----
Von: Thomas Laubscher 
Gesendet: Freitag, 26. Juni 2009 09:54
An: 'user at slf4j.org'
Betreff: Passing logger config to slf4j API

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





More information about the slf4j-user mailing list