problem converting log4j.properties file
----------------------------------------

                 Key: LBGENERAL-22
                 URL: http://jira.qos.ch/browse/LBGENERAL-22
             Project: logback-general
          Issue Type: Bug
            Reporter: Ceki Gulcu
            Assignee: Logback dev list


Rob Ross wrote:

I have a few comments for you. First, the log4j properties translator  ( 
http://logback.qos.ch/translator/Welcome.do ) does not quite work.  Maybe it's 
based on an old version and is now out of date, but you  should think about 
updating it. The file it produced did not  translate my properties that I used 
in log4j.properties to specify  the log file path into the equivalent 
substitutionProperty elements,  and it did not translate the Levels I had set 
on the log4j appenders.  

It did wrap them in Threshold elements, but the current XML schema  wants these 
specified in a "filter" element on the appender. Also, it  did not translate 
the settings for the rolling file appender into the  FileNamePattern element. 
However, the Joran configurator gave me  detailed enough Exception messages 
that it was easy to determine what  the problems were and fix them.

ref: http://www.qos.ch/pipermail/logback-user/2008-July/000492.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to