public class ContextAwareLogger
extends java.lang.Object
| Constructor and Description |
|---|
ContextAwareLogger() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.commons.logging.Log |
getLogger(org.apache.http.protocol.HttpContext httpContext,
org.apache.commons.logging.Log log,
boolean removeFromMDC)
Provides a wrapper implementation for the given logger according to the availability of the correlation id in
the httpcontext and based on the expected behavior of the Correlation-ID MDC property.
|
static org.apache.commons.logging.Log |
getLogger(org.apache.axis2.context.MessageContext axis2MessageContext,
org.apache.commons.logging.Log log,
boolean removeFromMDC)
Provides a wrapper implementation for the given logger according to the availability of the correlation id in
the axis2 and based on the expected behavior of the Correlation-ID MDC property.
|
public static org.apache.commons.logging.Log getLogger(org.apache.axis2.context.MessageContext axis2MessageContext,
org.apache.commons.logging.Log log,
boolean removeFromMDC)
axis2MessageContext - Axis2MessageContextlog - LogremoveFromMDC - whether to remove the Correlation-ID property from MDC after loggingpublic static org.apache.commons.logging.Log getLogger(org.apache.http.protocol.HttpContext httpContext,
org.apache.commons.logging.Log log,
boolean removeFromMDC)
httpContext - HttpContextlog - LogremoveFromMDC - whether to remove the Correlation-ID property from MDC after loggingCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.