| ||
In this section we'll cover the logging options within ASC.
10g AS provides a wide range of logging options for all server components : OHS, OC4J, OPMN, DCM, BC4J and even deployed J2EE applications. These are managed and viewed within the graphical ASC utility.
Figure D-3 shows you some of the available component logs.
In Figure D-3, you can see that there are many different components that generate logs. In the case shown in Figure D-3 you only wanted to see logs for the OC4J home container instance. This provided 62 log files that could be reviewed from the GUI screen.
Searching through this many log files for a specific error can be tedious and can cause errors. 10g AS provides advanced searching options, as shown in Figure D-4.
In Figure D-4 you can see that it's possible to do the following:
Select one or many different components to review logs for (for example, OHS, BC4J, DCM, OC4J applications).
Look for specific types of messages: Internal Error, Error, Warning, Notification, Trace, and Unknown.
Search based on a specific message text.
Search based on a regular expression.
Limit the result-set size .
Enter a date range.
These options allow you to automate the review of multiple log files when tracking down a problem, thus improving efficiency.
| ||