Package org.pentaho.di.core.logging
Class KettleLogLayout
java.lang.Object
org.pentaho.di.core.logging.KettleLogLayout
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
format
(KettleLoggingEvent event) protected static SimpleDateFormat
This method will attempt to read and return the date Pattern within the {} from RollingFIle name "pdi-execution-appender" off the log4j2.xml file.boolean
boolean
void
setTimeAdded
(boolean addTime)
-
Field Details
-
logger
protected static org.apache.logging.log4j.Logger logger -
log4J2Appender
-
ERROR_STRING
- See Also:
-
-
Constructor Details
-
KettleLogLayout
public KettleLogLayout() -
KettleLogLayout
public KettleLogLayout(boolean addTime)
-
-
Method Details
-
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
-
ignoresThrowable
public boolean ignoresThrowable() -
activateOptions
public void activateOptions() -
isTimeAdded
public boolean isTimeAdded() -
setTimeAdded
public void setTimeAdded(boolean addTime)
-