[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to