[logback-user] How to clear MDC values for specific thread once the operation is completed
Mads Bondo Dydensborg
mbd at dbc.dk
Tue Sep 24 09:03:38 CEST 2013
Hi there
Just be sure, when you "malicious", you mean "wrong", right?
And, re the issue: is it not covered by the manual?
E.g.:
http://logback.qos.ch/manual/mdc.html#managedThreads ?
Regards
Mads
Mandag 23 september 2013 20:31:57 skrev Govardhana:
> Hi,
>
> Recently we have upgraded our application from log4j to logback.
> we were successful to retain the existing functionality and added the unique
> features of logback. But...
>
> As our application is deployed in weblogic. it has thread-pool concept ..
> Due to this, we see that, when existing threads are being used for some
> operation, malicious data has been logged.
>
> we were tried to unset the MDC values explicitly by identifying the end
> point of application, still for some invocation, it became difficult to
> clear the MDC values..
>
> Is there any way to clear the MDC values once the operation is completed?
>
> we have seen the below link,but not sure, whether it solves our issue or
> not..
>
> http://jira.qos.ch/browse/LOGBACK-422
>
> Any help is much appreciated.
>
> Regards,
> Govardhana Reddy
>
>
>
> --
> View this message in context: http://logback.10977.n7.nabble.com/How-to-clear-MDC-values-for-specific-thread-once-the-operation-is-completed-tp12890.html
> Sent from the Users mailing list archive at Nabble.com.
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user
>
>
>
--
Med venlig hilsen/Regards
Chefarkitekt/Chief Architect cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 29 84 00 42
More information about the Logback-user
mailing list