You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2011/09/06 05:21:35 UTC

DO NOT REPLY [Bug 51766] New: Relocate RewriteAppender and UtilLoggingLevel from receivers to log4j

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

             Bug #: 51766
           Summary: Relocate RewriteAppender and UtilLoggingLevel from
                    receivers to log4j
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: carnold@apache.org
    Classification: Unclassified


Move org.apache.log4j.rewrite package and
org.apache.log4j.helpers.UtilLoggingLevel from the to-be-discontinued receivers
companion to log4j.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51766] Relocate RewriteAppender and UtilLoggingLevel from receivers to log4j

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51766

Curt Arnold <ca...@apache.org> changed:

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

--- Comment #1 from Curt Arnold <ca...@apache.org> 2011-09-06 03:35:07 UTC ---
Committed rev 1165491.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


[Bug 51766] Relocate RewriteAppender and UtilLoggingLevel from receivers to log4j

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51766

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

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

--- Comment #2 from Glauber Ribeiro <th...@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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org