Package org.frankframework.util
Class LogUtil
java.lang.Object
org.frankframework.util.LogUtil
Log4j can now be started from any LogManager.getLogger() call
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.logging.log4j.Logger
static org.apache.logging.log4j.Logger
static org.apache.logging.log4j.Logger
static org.apache.logging.log4j.Logger
getMsgLogger
(Adapter adapter) Must be called during configure after setName has been set!static org.apache.logging.log4j.Logger
getMsgLogger
(Adapter adapter, INamedObject object) Must be called during configure after setName has been set!static org.apache.logging.log4j.Logger
static org.apache.logging.log4j.CloseableThreadContext.Instance
getThreadContext
(Adapter adapter, String messageId, PipeLineSession session) static void
setIdsToThreadContext
(org.apache.logging.log4j.CloseableThreadContext.Instance ctc, String messageId, String correlationId)
-
Field Details
-
MESSAGE_LOGGER
- See Also:
-
MDC_ADAPTER_KEY
- See Also:
-
MDC_EXIT_STATE_KEY
- See Also:
-
MDC_EXIT_CODE_KEY
- See Also:
-
MDC_MESSAGE_ID_KEY
- See Also:
-
MDC_CORRELATION_ID_KEY
- See Also:
-
-
Constructor Details
-
LogUtil
public LogUtil()
-
-
Method Details
-
getRootLogger
public static org.apache.logging.log4j.Logger getRootLogger() -
getLogger
-
getLogger
-
getLogger
-
getMsgLogger
Must be called during configure after setName has been set! -
getMsgLogger
Must be called during configure after setName has been set! -
getThreadContext
public static org.apache.logging.log4j.CloseableThreadContext.Instance getThreadContext(Adapter adapter, String messageId, PipeLineSession session) -
setIdsToThreadContext
-