Overview of Oracle Fusion Middleware Logging

12-6 Oracle Fusion Middleware Administrators Guide

12.3.1.1 Viewing Log Files and Their Messages Using Fusion Middleware Control

You can view the messages for all of the entities in a domain, an Oracle WebLogic Server, a component, or an application. For example, to view the log files and their messages for a Managed Server: 1. From the navigation pane, expand the farm, then WebLogic Domain, and then the domain. Right-click the Managed Server name and choose Logs, then View Log Messages. The Log Messages page is displayed. 2. Expand Selected Targets and in the row for a particular component or application, click the Target Log Files icon. The Log Files page is displayed. On this page, you can see a list of log files related to the Managed Server, as shown in the following figure: 3. Select a file and click View Log File. The View Log Files page is displayed. On this page, you can view the list of messages. 4. To view the details of a message, select the message. The details are displayed in the pane below the listing, as shown in the following figure: Managing Log Files and Diagnostic Data 12-7 By default, the messages are sorted by time, in ascending order. You can sort the messages by the any of the columns, such as Message Type, by clicking the column name. 5. To view messages that are related by time or ECID, click View Related Messages and select by Time or by ECID Execution Context ID. The Related Messages page is displayed.

12.3.1.2 Viewing Log Files and Their Messages Using WLST

You can list the log files for an Oracle WebLogic Server domain, a server, an Oracle instance, or component using the WLST listLogs command. You can use this command while connected or disconnected. While connected, the default target is the Oracle WebLogic Server domain. To list the log files, first use the domainRuntime command as described in Section 12.3 . The following describes how to list and view log files: ■ To list all of the log files for the Oracle WebLogic Server soa_server1, use the following command: listLogstarget=server_soa file:hostscratchOracleMiddlewareuser_projectsdomainsSOA_ domainserverssoa_server1logssoa_server1.log 2010-09-17 16:40:45 4.9M soa_server1.log00001 2010-09-17 18:35:35 4.9M soa_server1.log00002 2010-09-17 20:30:25 4.9M soa_server1.log00003 ... file:hostscratchOracleMiddlewareuser_projectsdomainsSOA_