Configuring QuickTrace Using Fusion Middleware Control To configure

Managing Log Files and Diagnostic Data 12-29 If you upgraded a domain from a version previous to 11.1.1.5, you must take the following steps: 1. Copy the following file: ORACLE_COMMON_HOMEmodulesoracle.odl_11.1.1domain_configmbeansodl_ mbeans.xml Copy it to the following location: DOMAIN_HOMEconfigfmwconfigmbeansodl_mbeans.xml 2. Copy the following file: ORACLE_COMMON_HOMEmodulesoracle.odl_11.1.1server_configmbeansodl_ mbeans.xml Copy it to the following location: DOMAIN_HOMEconfigfmwconfigserversserver_namembeansodl_mbeans.xml Note that if you have multiple servers, you must copy the file to the location for each server. You can use Selective Tracing using Fusion Middleware Control or WLST, as described in the following topics: ■ Configuring and Using Selective Tracing Using Fusion Middleware Control ■ Configuring and Use Selective Tracing Using WLST

12.6.2.1 Configuring and Using Selective Tracing Using Fusion Middleware Control

You can configure selective tracing, view traces, and disable selective tracing using Fusion Middleware Control, as described in the following topics: ■ Configuring Selective Tracing Using Fusion Middleware Control ■ Viewing Selective Traces Using Fusion Middleware Control ■ Disabling Selective Tracing Using Fusion Middleware Control

12.6.2.1.1 Configuring Selective Tracing Using Fusion Middleware Control To configure

selective tracing using Fusion Middleware Control: 1. From the navigation pane, expand the farm, then WebLogic Domain. Right-click the domain name and choose Logs, then Selective Tracing. The Selective Tracing page is displayed, as shown in the following figure: 12-30 Oracle Fusion Middleware Administrators Guide 2. For Option Name, select an option, such as User Name, Application Name, or Client Host. Then, enter the name, for example, user1. 3. For Level, select a logging level. Table 12–3 describes the logging levels. 4. For Description, enter a description. 5. For Duration, enter the number of minutes that you want the selective trace to run. The selective trace is disabled after the specified time. 6. For Trace ID, select either Generate a New Unique Trace ID or Use a Custom Trace ID. If you select Use a Custom Trace ID, enter an ID. Note Fusion Middleware Control does not verify the uniqueness of the ID. 7. In the Loggers section, by default, all loggers are selected. You can select specific loggers that you want to trace. To find particular loggers, you can enter a string in the field above the table and click the Return key. For example, to find all loggers that begin with oracle.security, enter oracle.security. Then, in the table, select the loggers in the Enable on All Servers column. Note when you select loggers, those loggers apply to all current and active traces. Also note that even if you disable the loggers, you may see messages because all loggers have a general logging level, such as Notification. Those messages would still be written. 8. Click Apply. 9. Click Start Tracing. Managing Log Files and Diagnostic Data 12-31 Now that you have started the trace, you can view active traces, as well as former traces, as described in Section 12.6.2.1.2 .

12.6.2.1.2 Viewing Selective Traces Using Fusion Middleware Control You can view the

selective traces that are currently active and the history of selective traces. To view the selective traces: 1. From the Selective Tracing page, select the Active Traces and Tracing History tab. The tab shows a table with the active traces and a table with the tracing history, as shown in the following figure: 2. To view a trace, select it from the appropriate table. The Log Messages page is displayed, with the messages that were captured by Selective Tracing. You can search the messages, as described in Section 12.3.2 , and you can correlate the messages as described in Section 12.5 . In addition, you can download the messages to a file, as described in Section 12.3.3.1 . 12.6.2.1.3 Disabling Selective Tracing Using Fusion Middleware Control To disable selective tracing using Fusion Middleware Control: 1. From the navigation pane, expand the farm, then WebLogic Domain. Right-click the domain name and choose Logs, then Selective Tracing. 2. Select the Active Traces and Tracing History tab. 3. In the Active Traces table, select the trace and click Disable.

12.6.2.2 Configuring and Use Selective Tracing Using WLST

You can configure selective tracing, view traces, and disable selective tracing using WLST, as described in the following topics: ■ Configuring Selective Tracing Using WLST ■ Viewing Selective Traces Using WLST ■ Disabling Selective Traces Using WLST