Downloading Log Files Oracle Fusion Middleware Online Documentation Library

Managing Log Files 7-5 components of a farm and determine which other components have messages with the same ECID. To narrow your search: 1. From the navigation pane, expand the farm. For system components, expand the installation type and select the component. For Java components, expand the farm, the domain, a Managed Server, and then select the component. 2. From the dynamic target menu, choose Logs, then View Log Messages. The Log Messages page displays a Search section. 3. Click Add Fields, select a field, then click Add. 4. Select an operation, such as contains, and enter the value. For example, if you added the field Message ID, enter the Message ID, such as BEA-000386. 5. Click Search.

7.5 Downloading Log Files

You can download the log messages to a file using Fusion Middleware Control. You can download either the summary messages, messages related to a particular component or log file, or messages of a specific type. To download the log messages to a file using Fusion Middleware Control: 1. From the navigation pane, expand the farm, then WebLogic Domain. Select a domain or Managed Server. 2. From the dynamic target menu, choose Logs, then View Log Messages. The Log Messages page is displayed. 3. Set criteria for the log messages you want displayed, as described in Section 7.4 . 4. In the table, select a file type by clicking the arrow near Export All to File. You can select one of the following: ■ As Oracle Diagnostic Log Text .txt ■ As Oracle Diagnostic Log Text .xml ■ As Comma-Separated List .csv An Opening dialog box is displayed. 5. Either select Open With or Save to Disk. Click OK. To export specific types of messages or messages with a particular Message ID to a file: 1. From the navigation pane, expand the farm, then WebLogic Domain, and then the domain. Select a Managed Server. 2. From the dynamic target menu, choose Logs, then View Log Messages. WLST Command: displayLogstarget=target_name, oracleInstance=WLS_domain_or_instance_ home , query MSG_TYPE eq ERROR or MSG_TYPE eq INTERNAL_ERROR [,groupBy=string] [,tail] [,last=num_minutes] 7-6 Oracle Fusion Middleware 2 Day Administration Guide The Log Messages page is displayed. 3. Set criteria for the log messages you want displayed, as described in Section 7.4 . 4. For Show, select Group by Message Type or Group by Message ID. 5. To download the messages into a file, if you selected Group by Message Type, select the link in one of the columns that lists the number of messages, such as the Errors column. If you selected Group by Message ID, select one of the links in the Occurrences column. The Messages by Message Type page or Message by Message ID is displayed. 6. Select a file type by clicking the arrow near Export All to File. You can select one of the following: ■ As Oracle Diagnostic Log Text .txt ■ As Oracle Diagnostic Log Text .xml ■ As Comma-Separated List .csv An Opening dialog box is displayed. 7. Either select Open With or Save to Disk. Click OK. To download the log files for a specific component using Fusion Middleware Control: 1. From the navigation pane, expand the farm. For system components, expand the installation type and select the component. For Java components, expand the farm, then the component type, and then select the component. 2. From the dynamic target menu, choose Logs, then View Log Messages. The Log Messages page is displayed. 3. Click Target Log Files. The Log Files page is displayed. On this page, you can see a list of log files related to the component or application. 4. Select a log file and click Download. 5. An Opening dialog box is displayed. 6. Select either Open With or Save to Disk. Click OK.

7.6 Configuring Log Settings