[logback-dev] [JIRA] Resolved: (LBGENERAL-22) problem converting log4j.properties file
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Tue Dec 2 19:52:14 CET 2008
[ http://jira.qos.ch/browse/LBGENERAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ceki Gulcu resolved LBGENERAL-22.
---------------------------------
Fix Version/s: 0.9.12
Resolution: Fixed
logback-translator has been partially re-written.
> 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
> Fix For: 0.9.12
>
>
> 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
More information about the logback-dev
mailing list