Edit General Logging Properties

This page is used to configure the logging options for the server. Each virtual server has its own logging configuration.

The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

Log File

Specifies the path and filename to the Administration Server log used to collect information about the server during runtime. The default file name is server.log

Default Log Level

Specifies the degree of logging information that is collected; Log Levels used in Sun ONE Application Server are the same as those used in the JDK 1.4 specification. The Sun ONE Application Server uses additional log levels that provide natural mapping to Solaris SYSLOG log-levels in an attempt to tightly integrate with the Solaris 9 operating system.

Log stdout content to event log

  • When checked and Write to system log is disabled, event log information for the defined log level is redirected to the server log file specified.

  • When unchecked and Write to system log is disabled, event log information is directed to a terminal window.

  • When unchecked and Write to system log is enabled, event log information is directed to a terminal window

  • When checked and Write to system log is enabled, logs are directed to the system log (syslog on UNIX, event log on Windows).

Log stderr content to event log

  • When checked and Write to system log and Echo to stderr is disabled event log errors for the defined log level are redirected to the server log file specified.

  • When checked and Write to system log is enabled and Echo to stderr is disabled event log errors for the defined log level are directed to the system log file.

  • When unchecked and Write to system log is disabled and Echo to stderr is disabled event log errors for the defined log level are redirected to a terminal window.

  • When checked and Write to system log is disabled and Echo to stderr is enabled event log errors for the defined log level are directed to both the server log file specified and a terminal window.

  • When checked and Write to system log is enabled and Echo to stderr is enabled event log errors for the defined log level are directed to both the system log file and a terminal window.

  • When unchecked and Write to system log is disabled and Echo to stderr is enabled event log errors for the defined log level are directed to a terminal window.

Echo to stderr

When checked, log messages are sent to stderr in addition to the server log file specified.

Create Console

(Windows platform only) When checked, a console window is created for stderr output.

Log virtual server id

When checked, the virtual server id is logged with the log message. This is a useful feature when multiple virtual servers are used to log messages to the same log file.

Write to system log

When checked, the UNIX syslog logging service is used, or the Windows system logging service is used to produce and manage logs; logging is not performed to the Sun ONE Application server's server.log file.

Save

Saves your changes.

Reset

Resets the values on the page to the default values.

See also

Log Levels


Legal Notices