Error log, Pid file, Piped log – Oracle B12255-01 User Manual

Page 68: Error log -8 pid file -8 piped log -8

Advertising
background image

Specifying Log Files

6-8

Oracle HTTP Server Administrator’s Guide

Error Log

The server sends diagnostic information and records error messages to a log file
located, by default, in:

UNIX: ORACLE_HOME/Apache/Apache/logs/error_log

Windows: ORACLE_HOME\Apache\Apache\logs\error_log

The file name can be set using the

ErrorLog

directive.

PID File

When the server is started, it notes the process ID of the parent httpd process to the
PID file located by, default, in

UNIX: ORACLE_HOME/Apache/Apache/logs/httpd.pid

Windows: ORACLE_HOME\Apache\Apache\logs\httpd.pid

This filename can be changed with the

PidFile

directive. The process ID is for use

by the administrator for restarting and terminating the daemon. If the process dies
(or is killed) abnormally, then it is necessary to kill the children httpd processes.

Piped Log

Oracle HTTP Server is capable of writing error and access log files through a pipe to
another process, rather than directly to file. This increases the flexibility of logging,
without adding code to the main server. In order to write logs to a pipe, replace the
file name with the pipe character “|”, followed by the name of the executable which
should accept log entries on its standard input. Oracle HTTP Server starts the
piped-log process when the server starts, and restarts it if it crashes while the server
is running.

See Also:

“ErrorLog directive” in the Apache Server

documentation.

See Also:

“Pid File” in the Apache Server documentation.

See Also:

“Piped Log” in the Apache Server documentation.

Advertising