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

Configuring Log Settings for Administration Server

All the configuration changes performed using the administration console is logged by the administration server. Some common actions logged are creating new configuration, creating virtual servers and configuring instances 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 Administration Server > General tab.

  2. Go to Log Preferences section.

  3. Edit the Server Log Location field.

    Log 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 Administration Server > General tab.

  2. Go to Log Preferences section.

  3. Select the Log Verbosity Level.

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

    For 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 Administration Server > General tab.

  2. Go to 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]