You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/11/05 12:41:17 UTC
[jira] [Resolved] (SLING-2588) Add support for slf4j MDC in log
message
[ https://issues.apache.org/jira/browse/SLING-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chetan Mehrotra resolved SLING-2588.
------------------------------------
Resolution: Fixed
Fix Version/s: Commons Log 4.0.0
This should be possible with new Logback support being added as part of SLING-2024. Also see SLING-3048 where we populate MDC with data extracted from request
> Add support for slf4j MDC in log message
> ----------------------------------------
>
> Key: SLING-2588
> URL: https://issues.apache.org/jira/browse/SLING-2588
> Project: Sling
> Issue Type: New Feature
> Components: Commons
> Affects Versions: Commons Log 3.0.0
> Reporter: Timo Naroska
> Assignee: Chetan Mehrotra
> Fix For: Commons Log 4.0.0
>
>
> Commons log is missing a way to include slf4j Mapped Diagnostic Context (MDC) values in the log message format. The usual syntax used by log4j/logback is X{MDC-key}.
> http://logback.qos.ch/manual/mdc.html
--
This message was sent by Atlassian JIRA
(v6.1#6144)