Class ConfigurationRuntimeLogging

java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeLogging
All Implemented Interfaces:
Serializable

public class ConfigurationRuntimeLogging extends Object implements Serializable
Holds view logging settings other then the Apache commons or Log4J settings.
See Also:
  • Constructor Details

    • ConfigurationRuntimeLogging

      protected ConfigurationRuntimeLogging()
      Ctor - sets up defaults.
  • Method Details

    • isEnableExecutionDebug

      public boolean isEnableExecutionDebug()
      Returns true if execution path debug logging is enabled.

      Only if this flag is set to true, in addition to LOG4J settings set to DEBUG, does a runtime instance, produce debug out.

      Returns:
      true if debug logging through Log4j is enabled for any event processing execution paths
    • setEnableExecutionDebug

      public void setEnableExecutionDebug(boolean enableExecutionDebug)
      Set the debug flag for debugging the execution path, in which case the runtime logs to Log4j in debug-level during execution.
      Parameters:
      enableExecutionDebug - false to disable debug logging in the execution path, true to enable
    • isEnableTimerDebug

      public boolean isEnableTimerDebug()
      Returns true if timer debug level logging is enabled (true by default).

      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.

      Returns:
      indicator whether timer execution is noisy in debug or not
    • setEnableTimerDebug

      public void setEnableTimerDebug(boolean enableTimerDebug)
      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.
      Parameters:
      enableTimerDebug - indicator whether timer execution is noisy in debug or not (true is noisy)
    • getAuditPattern

      public String getAuditPattern()
      Returns the pattern that formats audit logs.

      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.

      Returns:
      audit formatting pattern
    • setAuditPattern

      public void setAuditPattern(String auditPattern)
      Sets the audit formatting pattern that formats audit logs, or null if using default format.
      Parameters:
      auditPattern - pattern to use
    • isEnableLockActivity

      public boolean isEnableLockActivity()
      Returns indicator whether lock activity logging is enabled.

      When lock logging is enabled the runtime logs all activity in respect to context partition read-write locks at INFO level to the log destination "com.espertech.esper.lock".

      Returns:
      indicator
    • setEnableLockActivity

      public void setEnableLockActivity(boolean enableLockActivity)
      Sets indicator whether lock activity logging is enabled.

      When lock logging is enabled the runtime logs all activity in respect to context partition read-write locks at INFO level to the log destination "com.espertech.esper.lock".

      Parameters:
      enableLockActivity - parameter