[logback-user] How to clear MDC values for specific thread once the operation is completed
Govardhana
jgovardhana at gmail.com
Tue Sep 24 05:31:57 CEST 2013
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.
More information about the Logback-user
mailing list