7-4 Oracle Fusion Middleware 2 Day Administration Guide
7.4 Searching Log Files
You can search for diagnostic messages by time, type of message, and certain log file attributes by using the Log Messages page of the Fusion Middleware Control.
To search for messages:
1.
From the navigation pane, expand the farm, and select the target, such as a Managed Server or Oracle HTTP Server.
2.
From the dynamic target menu, choose Logs, then View Log Messages.
The Log Messages page displays a Search section and a table that shows a summary of the messages.
3.
Depending on the component you selected, this page may show targets that are related to the component. To limit the targets, expand Selected Targets, select
targets that you do not want included in the search, and click Remove.
4.
In the Date Range section, you can select either:
■
Most Recent: If you select this option, select a time, such as 3 hours. The
default is 1 hour.
■
Time Interval: If you select this option, select the calendar icon for Start Date.
Select a date and time. Then, select the calendar icon for End Date. Select a date and time.
5.
In the Message Types section, select one or more of the message types.
6.
Click Search.
The following figure shows the Log Messages page with the results displayed:
You can also narrow your search by specifying additional criteria. For example, if you want to track a message that you saw when you viewed a log files message as
described in Section 7.3
, you can copy that messages Execution Context ID ECID, and use it as a search criteria. This allows you to correlate messages across
WLST Command:
listLogstarget=target_name, oracleInstance=domain_or_instance_home, [unit=size] [,fulltime]
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