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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.logging.log4j.Loggerstatic org.apache.logging.log4j.Loggerstatic org.apache.logging.log4j.Loggerstatic org.apache.logging.log4j.LoggergetMsgLogger(Adapter adapter) Must be called during configure after setName has been set!static org.apache.logging.log4j.LoggergetMsgLogger(Adapter adapter, HasName object) Must be called during configure after setName has been set!static org.apache.logging.log4j.Loggerstatic org.apache.logging.log4j.CloseableThreadContext.InstancegetThreadContext(Adapter adapter, String messageId, PipeLineSession session) static voidsetIdsToThreadContext(org.apache.logging.log4j.CloseableThreadContext.Instance ctc, String messageId, String correlationId)
-
Field Details
-
MESSAGE_LOGGER
- See Also:
-
MDC_PIPE_KEY
- See Also:
-
MDC_SENDER_KEY
- See Also:
-
MDC_LISTENER_KEY
- See Also:
-
MDC_ADAPTER_KEY
- See Also:
-
MDC_JOB_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
-