Oracle B12255-01 Manuale Utente

Pagina di 224
Using Oracle Diagnostic Logging
6-2
Oracle HTTP Server Administrator’s Guide
Using Oracle Diagnostic Logging
Oracle offers a new method for reporting diagnostic messages. This new method,
Oracle Diagnostic Logging (ODL), presents a common format for diagnostic
messages and log files, and a mechanism for correlating all diagnostic messages
from various components across Oracle Database. Using ODL, each component logs
messages to its own private local repository. A tool called LogLoader collects
messages from each repository and loads them into a common repository where
messages can be viewed as a single log stream, or analyzed in different ways.
You can view Oracle Database diagnostic log files using a text editor.
Overview
Oracle HTTP Server enables you to choose the format in which you want to
generate log messages. You can either continue to generate log messages in the
legacy Apache message format, or generate log messages using ODL, which
complies with the new Oracle-wide standards for generating log messages.
Configuring Oracle HTTP Server
To enable Oracle HTTP Server to use ODL, enter the directives specified in the
subsequent section in the
 file. Oracle recommends that you enter the
directives before any modules are loaded (LoadModule directive) in the
httpd.conf
 file so that module-specific logging severities are in effect before
modules have the opportunity to perform any logging.
OraLogMode apache | oracle
Enables you to switch between ODL and legacy Apache logging facility.
Default
: apache
See Also:
Oracle Application Server 10g Administrator’s Guide for
detailed information regarding Oracle Diagnostic Logging.