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:

  http://logback.qos.ch/translator/

HTH,

[email protected] 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.
http://logback.qos.ch
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to