logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 51766] Relocate RewriteAppender and UtilLoggingLevel from receivers to log4j
Date Thu, 25 Apr 2013 15:19:27 GMT

Glauber Ribeiro <theglauber@gmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Glauber Ribeiro <theglauber@gmail.com> ---
It seems that the DTD for log4j.xml was not updated properly

A xml fragment such as this

<appender name="rewrite" class="org.apache.log4j.rewrite.RewriteAppender">
   <appender-ref ref="console"/>
   <rewritePolicy class="logtest.MyRewriter"/>

Causes the following parse error on initialization:

log4j:WARN Continuable parsing error 15 and column 50
log4j:WARN Element type "rewritePolicy" must be declared.
log4j:WARN Continuable parsing error 16 and column 14
log4j:WARN The content of element type "appender" must match

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message