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 "Remko Popma (JIRA)" <ji...@apache.org> on 2014/01/04 03:29:50 UTC

[jira] [Reopened] (LOG4J2-482) The attribute of Route to refer to an appender is "ref" not "AppenderRef"

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

Remko Popma reopened LOG4J2-482:
--------------------------------

      Assignee: Remko Popma

(Reopening issue)
Now that we are talking about coming out of beta on the mailing list, perhaps now is the best time to change this attribute from "ref" to "AppenderRef".

I'll change the docs back to "AppenderRef". 
I'll change the implementation to accept either "AppenderRef" or (for backwards compatibility) "ref". If both are specified, AppenderRef wins.

> 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
>            Assignee: Remko Popma
>            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