Sun Java System Web Server 7.0 Update 5 Administrator's Guide

Configuring Log Settings for Administration Server

All the configuration changes performed using the administration console are logged by the administration server. Some common actions logged are creating new configurations, creating virtual servers, and configuring instance settings. However configuration level details like accessing a web application or exceptions raised while accessing a web application are logged separately by the configuration.

ProcedureTo Modify the Server Log Location

  1. Click the Administration Server > General tab.

  2. Go to the Log Preferences section.

  3. Edit the Server Log Location field.

    Log the location where the errors will be stored. Provide a valid server path for maintaining the log files. Also check if the administration server has the permission to write in the specified directory for UNIX systems.

    The default location is ../log/errors

ProcedureTo Modify the Log Verbosity Level

  1. Click the Administration Server > General tab.

  2. Go to the Log Preferences section.

  3. Select the Log Verbosity Level.

    This option provides you with a means of setting log granularity. For testing and debugging, the recommended level is finest.

    For a production environment, the recommended log level is failure or security. catastrophe log level will log very few details.

ProcedureTo Modify the Date Format for the Log

  1. Click the Administration Server > General tab.

  2. Go to the Log Preferences section.

  3. Edit the Date Format Field.

    The time format, which will be used to append time stamps to the error messages. The default value is [%d/%b/%Y:%H:%M:%S]