From Log4J to LogBack. PropertyConfigurator.configure("log4j.properties");

18 Mar
2009
18 Mar
'09
9:45 a.m.
Hello, How can I write for Logback this Java code for Log4J ? public static void main(String[] args) { PropertyConfigurator.configure("log4j.properties"); Regards, Pierre8r

18 Mar
18 Mar
9:57 a.m.
New subject: From Log4J to LogBack. PropertyConfigurator.configure("log4j.properties");
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, pierre8r-nabble@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. http://logback.qos.ch
6043
Age (days ago)
6043
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ceki Gulcu
-
pierre8r-nabble@yahoo.fr