[logback-dev] [JIRA] Created: (LBCORE-175) Provide default value for MDC values in pattern layout

Michael Osipov (JIRA) noreply-jira at qos.ch
Thu Oct 21 14:52:51 CEST 2010


Provide default value for MDC values in pattern layout
------------------------------------------------------

                 Key: LBCORE-175
                 URL: http://jira.qos.ch/browse/LBCORE-175
             Project: logback-core
          Issue Type: Improvement
          Components: Pattern
    Affects Versions: 0.9.24
            Reporter: Michael Osipov
            Assignee: Logback dev list


I am logging the user principal and not every request has to be authenticated. I set in my pattern layout:
%X{req.userPrincipal:-unauthenticated}
It did not work of course. Please make default values possible for MDC values just like for properties.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list