Configures the system logging service, which includes the following log files:
The errors log file stores messages from the server. The default name is errors.
The access log file stores HTTP access messages from the server. The default name is access.log. To configure the access log, you use server application functions in the obj.conf files.
The following table describes subelements for the LOG element.
Table 2–6 LOG subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the LOG element.
Table 2–7 LOG attributes
Attribute |
Default |
Description |
---|---|---|
file |
errors |
Specifies the file that stores messages from the server. |
loglevel |
info |
Controls the default type of messages logged by other elements to the error log. Allowed values are as follows, from highest to lowest. finest, finer, fine, info, warning, failure, config, security, and catastrophe. |
true |
(optional) If true, redirects stdout output to the errors log. Legal values are on, off, yes, no, 1, 0, true, false. |
|
true |
(optional) If true, redirects stderr output to the errors log. Legal values are on, off, yes, no, 1, 0, true, false. |
|
true |
(optional, UNIX only) If true, redirects log messages to the console. |
|
false |
(optional, Windows only) If true, creates a Windows console. Legal values are on, off, yes, no, 1, 0, true, false. |
|
false |
(optional) If true, uses the UNIX syslog service or Windows Event Logging to produce and manage logs. Legal values are on, off, yes, no, 1, 0, true, false. |