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

Achim Nierbeck commented on SMX4-1754:
--------------------------------------

No OPS4j Pax Logging doesn't support log4j V2 it is still using log4j 1 
internal. 

> Does Karaf support log4j2
> -------------------------
>
>                 Key: SMX4-1754
>                 URL: https://issues.apache.org/jira/browse/SMX4-1754
>             Project: ServiceMix 4
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Nooruddin Shaik
>            Priority: Blocker
>
> We are trying to use log4j2 with karaf pax logging and finding issues with it.
> I have added few parameters using ThreadContext.put("userId", "john"") and 
> configured the same in apache-servicemix-4.5.3\etc\ org.ops4j.pax.logging.cfg 
> to print the %X{userId}
> When I add to MDC.put() its working but not in ThreadContext which is log4j2 
> features.
> So I am wondering is log4j2 is supported by Karaf pax logging?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to