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
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev