How to Configure a Component Logger

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 Managing Oracle CEP Server Logs 19-7 ■ Debug ■ Trace

7. Click Save.

The new severity level is displayed in the table. To delete 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–4 show. Figure 19–4 Component Log Setting Tab

4. Select the component entry in the table.

5. Click Delete.

A confirmation dialog appears as Figure 19–5 shows. Figure 19–5 Component Log Configuration Delete Confirmation 19-8 Oracle Complex Event Processing Visualizer Users Guide

6. Click Yes.

The component logger is removed from the table.

19.2 Viewing Logs

This section describes: ■ Section 19.2.1, How to Query Logs ■ Section 19.2.2, How to View Console Output

19.2.1 How to Query Logs

Using the Oracle CEP Visualizer, you can run queries on the logs of a selected Oracle CEP server. The Query Logs feature allows you to view the information in the selected log files. To query logs: 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. Click Services and then click Log Query.

The Log Query screen is displayed, as shown in Figure 19–6 . Figure 19–6 Log Query Screen

3. Select the following options in the Log Query screen:

■ LogFile : Select the log file you want to query from the drop-down. ■ Severity : Select the severity of the log file that you selected in the LogFile drop-down. Managing Oracle CEP Server Logs 19-9 ■ MaxCount : Enter the maximum count of rows of log you wish to view for the selected log file. ■ StartTime : Select the time when the query should start running. ■ EndTime : Select the time when the query should stop.

4. Click Start Query.

All the log messages that match your query criteria for the selected log file of the selected Oracle CEP Server are displayed in the Logs pane, as shown in Figure 19–7 . Figure 19–7 Log Query Screen - Logs Displayed 5. If more messages are returned than can be displayed in the Logs pane, the Previous and Next buttons activate. Click the Previous and Next buttons to page through the messages.

19.2.2 How to View Console Output

Using the Oracle CEP Visualizer, you can view the console output of a selected Oracle CEP server. To view console output: 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. Click Services and then click Console Output.

The Console Output screen is displayed, as shown in Figure 19–8 . 19-10 Oracle Complex Event Processing Visualizer Users Guide Figure 19–8 Sample Console Output for HelloWorld Application

3. Click the Clean Text button to clear the text in the Console Output window.

4. Click the Pause button to pause the output of console messages.

5. Click the Resume button to resume the output of console messages.

Part IV Part IV Security Tasks Part IV contains the following chapters: ■ Chapter 20, Overview of Security Tasks ■ Chapter 21, Managing Users ■ Chapter 22, Managing Groups ■ Chapter 23, Managing Roles ■ Chapter 24, Managing HTTP Publish-Subscribe Server Security ■ Chapter 25, Managing SSL