https://issues.apache.org/bugzilla/show_bug.cgi?id=53345

--- Comment #7 from Mallikarjun Channappagoudar 
<mallikarjun.channappagou...@bcbsma.com> ---
(In reply to comment #6)
> Probably you are running into MDC problems.
> Do you remove all the key appropriate after you have added them to MDC?
> 
> The config does not look as it would cause problems, so I suspect MDC.
> 
> With 1.2.17 a nasty MDC related fix has been applied. Please see the
> conversation around it here:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50486
> 
> At the bottom is some example code how to proper use MDC (and clean it up).
> 
> Please let me know if an upgrade to 1.2.17 and the recommendations from this
> issue helped you.

We will try the version 1.2.17.
We use MDC in the following way, we do not remove the keys.

        // Add set MDC at the beginning of Adapter transaction
        try {
            MDC.put(com.bcbsma.service.extendedmodel.Constants.MDC_CONTEXT,
resp.getSubmitClaimRequest().getContext().getRequestId());
        } catch (Exception ex) {
            logger.error(ex);
            // ignore the Error
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to