public class ConfigurationRuntimeLogging extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
ConfigurationRuntimeLogging()
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 |
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 runtimelogs
to Log4j in debug-level during execution.
|
void |
setEnableTimerDebug(boolean enableTimerDebug)
Set this value to false to reduce the debug-level logging output for the timer thread(s).
|
protected ConfigurationRuntimeLogging()
public boolean isEnableExecutionDebug()
Only if this flag is set to true, in addition to LOG4J settings set to DEBUG, does a runtime 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 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 runtime URI.
public void setAuditPattern(String auditPattern)
auditPattern
- pattern to useCopyright © 2005–2018. All rights reserved.