logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Izek Greenfield (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LOG4J2-1866) Add default value to MdcPatternConverter
Date Thu, 06 Apr 2017 09:50:41 GMT
Izek Greenfield created LOG4J2-1866:

             Summary: Add default value to MdcPatternConverter 
                 Key: LOG4J2-1866
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1866
             Project: Log4j 2
          Issue Type: Bug
          Components: Pattern Converters
    Affects Versions: 2.8.2
            Reporter: Izek Greenfield

When using %X in a pattern I can't define default value if the value does not exist in MDC.

I will be great to be able to define one like:

This message was sent by Atlassian 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