Toggle Properties Managing the Cluster Topology Diagram

19-2 Oracle Complex Event Processing Visualizer Users Guide Figure 19–1 Logging Services Tab

4. Click Edit.

5. Edit the dialog as

Table 19–1 describes. Table 19–1 Logging Services Options Attribute Description Logging Service Name Specify the name of the logging service as the Oracle CEP server config.xml file specifies. Logger Severity Specify the default log severity at which Oracle CEP server logs messages. Limited By Number Of Files Specify whether or not to keep old log files indefinitely: ■ true : keep only the last 7 log files. ■ false : keep all log files. Rotation Type Specify when Oracle CEP server should close the existing log file and open a new one: ■ Size : Oracle CEP server closes the existing log file when it reaches the size in KB you enter in the Rotation Size field. ■ Time : Oracle CEP server closes the existing log file at the time you enter in the numeric entry field below the Rotation Type pull-down menu in k:mm format, where k is the hour specified in 24 hour notation and mm is the minutes. Default-Value: 00:00. ■ None : Oracle CEP server never closes the existing log file and allows it to grow to an unlimited size. Rotation Size When you specify Rotation Type as Size, enter the maximum log file size in KB. Base Log File Name The name of the base log file. Default: server.log. Managing Oracle CEP Server Logs 19-3

6. Click the Save button to commit your changes.

19.1.2 How to Configure a Component Logger

Using the Oracle CEP Visualizer, you can configure the logging properties of a selected component. Table 19–2 lists the components that are configured to log at the Notice log level, by default. This section describes how: ■ To add a component logger: on page 19-3 ■ To change the logging level of a component: on page 19-6 ■ To delete a component logger: on page 19-7 To configure logging properties that apply to all components, see Section 19.1.1, How to Configure the Oracle CEP Server Logging Service . To add a component logger: 1. In the left pane, click the Domain Server node, where Domain refers to the name of your Oracle CEP domain and Server refers to the name of the server instance.

2. In the right pane, click the Logging tab.

3. Click the Component Log Setting tab.

The Component Log Setting tab appears as Figure 19–2 show. Rotate Log On Startup Specify whether or not Oracle CEP server closes the existing log file and creates a new one each time the Oracle CEP server starts up: ■ true : Oracle CEP server closes the existing log file and creates a new one each time the Oracle CEP server starts up. ■ false : Oracle CEP server does not close the existing log file each time the Oracle CEP server starts up. Log File Severity Specify the default log file severity. Oracle CEP server and, by default, all components, log messages at this severity: ■ Emergency ■ Alert ■ Critical ■ Error ■ Warning ■ Notice ■ Info ■ Debug ■ Trace Table 19–1 Cont. Logging Services Options Attribute Description 19-4 Oracle Complex Event Processing Visualizer Users Guide Figure 19–2 Component Log Setting Tab

4. Click Add.

5. Enter the name of the component in the Name field.

You can choose any of the following: ■ Component name : a component name constant exactly as Table 19–2 lists. Table 19–2 Logging Component Name Constants Component Name Description Adapters Applies to log messages from adapter instances running on the Oracle CEP server. Cache Applies to log messages from caching systems and cache instances running on the Oracle CEP server. Channel Applies to log messages from channels running on the Oracle CEP server. CQLProcessor Applies to log messages from Oracle CQL processors running on the Oracle CEP server. EplProcessor Applies to log messages from EPL processors running on the Oracle CEP server. Ede Applies to log messages from the Event-Driven Environment, the Oracle CEP server event-dispatching infrastructure.