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

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

[ http://jira.qos.ch/browse/LBCORE-175?page=com.atlassian.jira.plugin.system.i... ] Ceki Gulcu reassigned LBCORE-175: --------------------------------- Assignee: Ceki Gulcu (was: Logback dev list)
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: Ceki Gulcu
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
participants (2)
-
Ceki Gulcu (JIRA)
-
Michael Osipov (JIRA)