5.35.
ErrorLog
ErrorLog
specifies the file where server errors are logged. By default, this directive is set to
/var/log/httpd/error_log
.
5.36.
LogLevel
LogLevel
sets how verbose the error messages in the error logs are.
LogLevel
can be set
(from least verbose to most verbose) to
emerg
,
alert
,
crit
,
error
,
warn
,
notice
,
info
, or
debug
. The default
LogLevel
is
warn
.
5.37.
LogFormat
The
LogFormat
directive configures the format of the various Web server log files. The actual
LogFormat
used depends on the settings given in the
CustomLog
directive (refer to
Section 5.38, “
CustomLog
”
).
The following are the format options if the
CustomLog
directive is set to
combined
:
%h
(remote host's IP address or hostname)
Lists the remote IP address of the requesting client. If
HostnameLookups
is set to
on
, the
client hostname is recorded unless it is not available from DNS.
%l
(rfc931)
Not used. A hyphen - appears in the log file for this field.
%u
(authenticated user)
Lists the username of the user recorded if authentication was required. Usually, this is not
used, so a hyphen - appears in the log file for this field.
%t
(date)
Lists the date and time of the request.
%r
(request string)
Lists the request string exactly as it came from the browser or client.
%s
(status)
Lists the HTTP status code which was returned to the client host.
%b
(bytes)
Lists the size of the document.
%\"%{Referer}i\"
(referrer)
Lists the URL of the webpage which referred the client host to Web server.
%\"%{User-Agent}i\"
(user-agent)
Lists the type of Web browser making the request.
LogLevel
173
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......