Class RemoveLoggingContext

java.lang.Object
com.adaptris.core.ServiceImp
com.adaptris.core.services.RemoveLoggingContext
All Implemented Interfaces:
AdaptrisComponent, ComponentLifecycle, ComponentLifecycleExtension, ConfigComment, MessageEventGenerator, Service, StateManagedComponent

@ComponentProfile(summary="Remove a mapped diagnostic context for logging; useful for filtering", tag="service,logging,debug") public class RemoveLoggingContext extends ServiceImp
Remove a mapped diagnostic context via MDC.remove(String).

If you have a large number of workflows then it may be useful to use a mapped diagnostic context to provide additional information into your logfile.

In the adapter configuration file this class is aliased as remove-logging-context-service which is the preferred alternative to the fully qualified classname when building your configuration.