Class KettleLogLayout

java.lang.Object
org.pentaho.di.core.logging.KettleLogLayout

public class KettleLogLayout extends Object
  • Field Details

    • logger

      protected static org.apache.logging.log4j.Logger logger
    • log4J2Appender

      protected static String log4J2Appender
    • ERROR_STRING

      public static final String ERROR_STRING
      See Also:
  • Constructor Details

    • KettleLogLayout

      public KettleLogLayout()
    • KettleLogLayout

      public KettleLogLayout(boolean addTime)
  • Method Details

    • getLog4j2Appender

      protected static SimpleDateFormat getLog4j2Appender()
      This method will attempt to read and return the date Pattern within the {} from RollingFIle name "pdi-execution-appender" off the log4j2.xml file. If unsuccessful, then it will return the default date Pattern "yyyy/MM/dd HH:mm:ss".
      Returns:
      SimpleDateFormat
    • format

      public String format(KettleLoggingEvent event)
    • ignoresThrowable

      public boolean ignoresThrowable()
    • activateOptions

      public void activateOptions()
    • isTimeAdded

      public boolean isTimeAdded()
    • setTimeAdded

      public void setTimeAdded(boolean addTime)