Using Log Severity Levels

Configuring Logging and Debugging for Oracle CEP 15-7 entry keyEdekey valueNoticevalue entry entry keyCachekey valueNoticevalue entry entry keyAdapterskey valueNoticevalue entry entry keySpringkey valueNoticevalue entry entry keyChannelkey valueNoticevalue entry entry keyRecplaykey valueNoticevalue entry entry keyMonitorkey valueNoticevalue entry entry keyServerkey valueNoticevalue entry entry keyEventTracekey valueNoticevalue entry entry keyDeploymentkey valueNoticevalue entry logger-severity-properties logging-service log-file namemyFileConfigname rotation-typenonerotation-type log-file log-stdout namemyStdoutConfigname stdout-severityDebugstdout-severity log-stdout n1:config The following sections provide information on configuring Oracle CEP logging: ■ Section 15.2.1, logging-service ■ Section 15.2.2, log-file ■ Section 15.2.3, log-stdout ■ Section 15.2.4, Configuring Severity for an Individual Module

15.2.1 logging-service

This section provides information on the logging-service element: 15-8 Oracle Complex Event Processing Administrators Guide

15.2.2 log-file

This section provides information on the log-file element: Table 15–2 Configuration Parameters for logging-service Parameter Type Description name String The name of this configuration object. log-file-config String The configuration of the log file and its rotation policies. See Section 15.2.2, log-file. stdout-config String The name of the stdout configuration object used to configure stdout output. See Section 15.2.3, log-stdout. logger-severity String Defines the threshold importance of the messages that are propagated to the handlers. The default value is Info. To see Debug and Trace messages, configure the logger-severity to either Debug or Trace. Valid values are: Emergency, Alert, Critical, Error, Warning, Notice, Info, Debug, and Trace. logger-severity-properties One or more entry child elements. List of name-value pairs, enclosed in an entry element, that list individual modules package name, application name, class name, or component such as CQLProcessor and their logging severity. These severities override the default severity of the Oracle CEP server. See Section 15.2.4, Configuring Severity for an Individual Module. Table 15–3 Configuration Parameters for log-file Parameter Type Description name String The name of this configuration object. base-log-file-name String The log file name. Default value is server.log. log-file-severity String Specifies the least important severity of messages written to the log file. Default value is Trace. Valid values are: ■ Emergency ■ Alert ■ Critical ■ Error ■ Warning ■ Notice ■ Info ■ Debug ■ Trace log-file-rotation-dir String Specifies the directory where old rotated files are stored. If not set, the old files are stored in the same directory as the base log file. rotation-type String Specifies how rotation is performed based on size, time, or not at all. Valid values are: ■ bySize ■ byTime ■ none