Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

Slf4j MDC configuration not found in AEM 6.4 felix console

Avatar

Level 2

Hi Team ,

I want to configure Slf4j MDC with AEM 6.4.

I follow Apache Sling :: Logging this document.

I am not able to find "Apache Sling Logging MDC Inserting Filter" in AEM 6.4 Felix console.

Please assist me for implementing steps.

MDCInsertingServletFilter.PNG

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Its not shipped with AEM.

You need to install bundle(Slf4j MDC Filter) in AEM. you can get this bundle from Apache Sling :: Downloads

You can use below link to download bundle

Bundle

Thanks
Arun



Arun Patidar

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi,

Its not shipped with AEM.

You need to install bundle(Slf4j MDC Filter) in AEM. you can get this bundle from Apache Sling :: Downloads

You can use below link to download bundle

Bundle

Thanks
Arun



Arun Patidar

Avatar

Level 2

Hi ,

Any sample header's and parameter's values for MDC Inserting filter

1497781_pastedImage_0.png

Avatar

Community Advisor

Hi Sanket,

I never used this , so I have no idea which values could be set or not. But from descriptions , values should be related to HTTP header, parameters and cookies like normal browser requests header.

you can check below also if it helps

Adding MDC headers to every Spring MVC request

Thanks

Arun



Arun Patidar