10g AS Application Server Control Logging

In this section we'll cover the logging options within ASC.

Description

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.

image from book
Figure D-3: Logs available

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.

image from book
Figure D-4: Advanced log searching options

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.



Oracle Application Server 10g. J2EE Deployment and Administration
Oracle Application Server 10g: J2EE Deployment and Administration
ISBN: 1590592352
EAN: 2147483647
Year: 2004
Pages: 150

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net