[ 
https://issues.apache.org/jira/browse/LOG4J2-3583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600147#comment-17600147
 ] 

ASF subversion and git services commented on LOG4J2-3583:
---------------------------------------------------------

Commit ccd807b00b4e748f7c1873cdbf30004457188ea2 in logging-log4j2's branch 
refs/heads/dependabot/maven/co.elastic.logging-log4j2-ecs-layout-1.5.0 from 
Piotr P. Karwasz
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=ccd807b00b ]

[LOG4J2-3583] Implements stack-valued MDC

This PR implements SLF4J-531 by storing the result of `pushByKey(key,
value)` in the usual thread context map and restoring the previous
value, when a `popByKey(key)` call occurs.


> Implement stack-valued MDC
> --------------------------
>
>                 Key: LOG4J2-3583
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3583
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: SLF4J Bridge
>            Reporter: Piotr Karwasz
>            Assignee: Piotr Karwasz
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> SLF4J 2.0 introduces a stack-valued MDC (cf. 
> [SLF4J-531|https://jira.qos.ch/browse/SLF4J-531])), which must be implemented 
> in the SLF4J to Log4j2 bridge.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to