public static class ConfigurationEngineDefaults.Logging extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
Logging()
Ctor - sets up defaults.
|
Modifier and Type | Method and Description |
---|---|
String |
getAuditPattern()
Returns the pattern that formats audit logs.
|
boolean |
isEnableExecutionDebug()
Returns true if execution path debug logging is enabled.
|
boolean |
isEnableJDBC()
Returns an indicator whether JDBC query reporting is enabled.
|
boolean |
isEnableQueryPlan()
Returns indicator whether query plan logging is enabled or not.
|
boolean |
isEnableTimerDebug()
Returns true if timer debug level logging is enabled (true by default).
|
void |
setAuditPattern(String auditPattern)
Sets the audit formatting pattern that formats audit logs, or null if using default format.
|
void |
setEnableExecutionDebug(boolean enableExecutionDebug)
Set the debug flag for debugging the execution path, in which case the engine logs
to Log4j in debug-level during execution.
|
void |
setEnableJDBC(boolean enableJDBC)
Set the indicator whether JDBC query reporting is enabled.
|
void |
setEnableQueryPlan(boolean enableQueryPlan)
Set indicator whether query plan logging is enabled, by default it is disabled.
|
void |
setEnableTimerDebug(boolean enableTimerDebug)
Set this value to false to reduce the debug-level logging output for the timer thread(s).
|
public boolean isEnableExecutionDebug()
Only if this flag is set to true, in addition to LOG4J settings set to DEBUG, does an engine instance, produce debug out.
public void setEnableExecutionDebug(boolean enableExecutionDebug)
enableExecutionDebug
- false to disable debug logging in the execution path, true to enablepublic boolean isEnableTimerDebug()
Set this value to false to reduce the debug-level logging output for the timer thread(s). For use only when debug-level logging is enabled.
public void setEnableTimerDebug(boolean enableTimerDebug)
enableTimerDebug
- indicator whether timer execution is noisy in debug or not (true is noisy)public boolean isEnableQueryPlan()
public void setEnableQueryPlan(boolean enableQueryPlan)
enableQueryPlan
- indicatorpublic boolean isEnableJDBC()
public void setEnableJDBC(boolean enableJDBC)
enableJDBC
- set to true for JDBC query reorting enabledpublic String getAuditPattern()
Available conversion characters are:
%m - Used to output the audit message. %s - Used to output the statement name. %u - Used to output the engine URI.
public void setAuditPattern(String auditPattern)
auditPattern
- pattern to use