logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LOG4J2-482) The attribute of Route to refer to an appender is "ref" not "AppenderRef"
Date Fri, 03 Jan 2014 14:03:51 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Remko Popma resolved LOG4J2-482.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-rc1

Thanks for pointing this out.
I've changed the documentation to use the "ref" attribute.
(Interestingly, there are five JUnit tests with separate configuration files that all correctly
use "ref". It seems like the docs have had this mistake from the beginning.)

Fixed in revision 1555091.
Please verify and close.

Note to the team:
Perhaps this attribute _should_ be {{AppenderRef}} instead of {{ref}}.
The code changes to do this seem fairly straightforward, but this may break existing configurations.
At this point the documentation is simply wrong so I'm just fixing the documentation.

> The attribute of Route to refer to an appender is "ref" not "AppenderRef"
> -------------------------------------------------------------------------
>
>                 Key: LOG4J2-482
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-482
>             Project: Log4j 2
>          Issue Type: Documentation
>          Components: Appenders
>    Affects Versions: 2.0-beta9
>            Reporter: Hongdi Ren
>            Priority: Minor
>              Labels: documentation
>             Fix For: 2.0-rc1
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> First of all, thanks for so much enhancements on log4j2. : )
> Just a small problem of the manual. The example of Routes(http://logging.apache.org/log4j/2.x/manual/appenders.html#RoutingAppender)
uses attribute "AppenderRef" to reference an appender, which is not correct. I've searched
the source code, find the attribute should be "ref". 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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


Mime
View raw message