Class LogUtil

java.lang.Object
org.frankframework.util.LogUtil

public class LogUtil extends Object
Log4j can now be started from any LogManager.getLogger() call
  • Field Details

  • Constructor Details

    • LogUtil

      public LogUtil()
  • Method Details

    • getRootLogger

      public static org.apache.logging.log4j.Logger getRootLogger()
    • getLogger

      public static org.apache.logging.log4j.Logger getLogger(String name)
    • getLogger

      public static org.apache.logging.log4j.Logger getLogger(Class<?> clazz)
    • getLogger

      public static org.apache.logging.log4j.Logger getLogger(Object owner)
    • getMsgLogger

      public static org.apache.logging.log4j.Logger getMsgLogger(IAdapter adapter)
      Must be called during configure after setName has been set!
    • getMsgLogger

      public static org.apache.logging.log4j.Logger getMsgLogger(IAdapter adapter, INamedObject object)
      Must be called during configure after setName has been set!
    • getThreadContext

      public static org.apache.logging.log4j.CloseableThreadContext.Instance getThreadContext(IAdapter adapter, String messageId, PipeLineSession session)
    • setIdsToThreadContext

      public static void setIdsToThreadContext(org.apache.logging.log4j.CloseableThreadContext.Instance ctc, String messageId, String correlationId)