|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.ConfigurationEngineDefaults.Logging
public static class ConfigurationEngineDefaults.Logging
Holds view logging settings other then the Apache commons or Log4J settings.
Constructor Summary | |
---|---|
protected |
ConfigurationEngineDefaults.Logging()
Ctor - sets up defaults. |
Method Summary | |
---|---|
java.lang.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(java.lang.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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ConfigurationEngineDefaults.Logging()
Method Detail |
---|
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 java.lang.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(java.lang.String auditPattern)
auditPattern
- pattern to use
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |