[logback-user] From Log4J to LogBack. PropertyConfigurator.configure("log4j.properties");

Ceki Gulcu ceki at qos.ch
Wed Mar 18 10:57:05 CET 2009

Logback configuration files are in XML format. Properties files are not 
recognized. However, you can translate a log4j.properties files into XML format 
using the translator application:



pierre8r-nabble at yahoo.fr wrote:
> Hello,
> How can I write for Logback this Java code for Log4J ?
>     public static void main(String[] args) {
>         PropertyConfigurator.configure("log4j.properties");
> Regards,
> Pierre8r

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

More information about the Logback-user mailing list