How to Configure the Oracle CEP Server Logging Service

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. Managing Oracle CEP Server Logs 19-5 ■ Application name : the module name of any Oracle CEP server or user-defined application. For example: sample.HelloWorld. ■ Package name : the name of any Oracle CEP server or user-supplied Java package. For example: com.bea.wlevs.ede. For more information on Oracle CEP server packages, see the Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing. ■ Class name : the fully qualified name of any Oracle CEP server or user-defined class. For example: com.bea.wlevs.cep.core.EPRuntimeImpl. For more information on Oracle CEP server classes, see the Oracle Fusion Middleware Java API Reference for Oracle Complex Event Processing.

6. Select the severity level from the Level drop-down menu:

■ Emergency ■ Alert ■ Critical ■ Error ■ Warning ■ Notice ■ Info ■ Debug EventTrace When set to Info or Debug, allows you to trace events as they flow through the EPN for all applications. You can dynamically change the severity of this log key using Oracle CEP Visualizer. At the Info severity, you see log messages like this although likely displayed on one line: May 26, 2009 5:53:49 PM PDT Info EventTrace BEA-000000 Application [helloworld], Stage [helloworldOutputChannel] received insert event At the Debug severity, the log messages include details of the event: May 26, 2009 6:02:34 PM PDT Debug EventTrace BEA-000000 Application [helloworld], Stage [helloworldOutputChannel] received insert event [HelloWorldEvent: HelloWorld - the current time is: 6:02:34 PM] Lifecycle Applies to log messages from Oracle CEP server and application lifecycle operations. Management Applies to log messages from Oracle CEP server general JMX-related management API operations. Monitor Applies to log messages from the Oracle CEP server monitoring service. Recplay Applies to log messages from Oracle CEP server event recording and playback operations. Spring Applies to log messages from Spring container operations. Stream Applies to log messages from stream instances running on the Oracle CEP server. Table 19–2 Cont. Logging Component Name Constants Component Name Description 19-6 Oracle Complex Event Processing Visualizer Users Guide ■ Trace

7. Click Save.

The component and the severity level is displayed in the table. To change the logging level of a component: 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–3 show. Figure 19–3 Component Log Setting Tab

4. Select the component entry in the table.

5. Click Edit.

6. Select the severity level from the Level drop-down menu:

■ Emergency ■ Alert ■ Critical ■ Error ■ Warning ■ Notice ■ Info