logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-326) request to improve the RoutingAppender
Date Tue, 30 Jul 2013 13:47:48 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723863#comment-13723863

Ralph Goers commented on LOG4J2-326:

If fruit is not defined in the ThreadContext then the value of $\{ctx:fruit} is $\{ctx:fruit}.
By adding that as the key for a Route you are providing a default Route for when no value
is assigned, which seems to be what you asked for.  The default route is for when no Route
key matches the value present in the ThreadContext, which is working correctly.
> request to improve the RoutingAppender
> --------------------------------------
>                 Key: LOG4J2-326
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-326
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Appenders
>            Reporter: Sudharma Puranik
> Routing Appender has to be improved in a way that it can handle default appenders in
a better way.! Please refer this JIRA for more details
> https://issues.apache.org/jira/browse/LOG4J2-314

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

View raw message