Sun Java System Web Server 6.1 SP9 Administrator's Configuration File Reference

Subelements

The following table describes subelements for the LOG element.

Table 2–51 LOG Subelements

Element  

Required  

Description  

PROPERTY

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the LOG element.

Table 2–52 LOG Attributes

Attribute  

Default  

Description  

file

errors

Specifies the file that stores messages from the default virtual server. Messages from other configured virtual servers also go here, unless the errorlog attribute is explicitly specified in the VS element.

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.

logvsid

false

(optional) If true, virtual server IDs are displayed in the virtual server logs. This is useful if multiple VS elements share the same log file. Legal values are on, off, yes, no, 1, 0, true, false.

logstdout

true

(optional) If true, redirects stdout output to the errors log. Legal values are on, off, yes, no, 1, 0, true, false.

logstderr

true

(optional) If true, redirects stderr output to the errors log. Legal values are on, off, yes, no, 1, 0, true, false.

logtoconsole

true

(optional, UNIX only) If true, redirects log messages to the console.

createconsole

false

(optional, Windows only) If true, creates a Windows console. Legal values are on, off, yes, no, 1, 0, true, false.

usesyslog

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.