https://issues.apache.org/bugzilla/show_bug.cgi?id=51766

Glauber Ribeiro <theglau...@gmail.com> changed:

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

--- Comment #2 from Glauber Ribeiro <theglau...@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"/>
</appender>

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
"(errorHandler?,param*,rollingPolicy?,triggeringPolicy?,connectionSource?,layout?,filter*,appender-ref*)".

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

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

Reply via email to