[logback-dev] [JIRA] Created: (LBGENERAL-22) problem converting log4j.properties file
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Wed Aug 6 17:07:25 CEST 2008
problem converting log4j.properties file
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.
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
More information about the logback-dev