Log these details only — You can log only specific values
from the request header using this option. Check from the following values:

Client Hostname

System Date

HTTP Status

HTTP Header

HTTP Method

Query String

Virtual Server Name

Authenticated User Name

Complete HTTP Request

Content Length

Request URI

Protocol

Editing Server Log Preferences

The fields in the Server Log Preferences section are described in the
following table:

Table 13–6 Field Description > Editing Server
Log Preferences

Field

Description

Server Log Location

The server path, where the Server Log files will be stored. The default
value is ../logs/errors

Log Verbosity Level

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

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

Log Virtual Server Name

If this option is selected, along with the errors, the name of the virtual
server processing the request is also logged.

Log to System Log

Log all messages to the system log.

Log to console

If this option is selected, exceptions arising from deployed web applications
are logged, if they are written to console.

This option is enabled by default.

Date Format

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]

Archiving Log Files

You can set up your log files to be automatically archived. At a certain time, or
after a specified interval, the server rotates your access logs. The server
saves the old log files and marks the saved file with a name that includes
the date and time they were saved.

For example, you can set up your files to rotate every hour, and the
server saves and names the file “access.199907.0152400,”
where “name|year|month|day|24-hour time”
is concatenated together into a single character string. The exact format
of the access log archive file varies depending upon which type of log rotation
you set up.

Once the rotation starts, the server creates a new time stamped access
log file when there is a request that needs to be logged to the access log
file and it occurs after the previously-scheduled “next rotate time.”

Setting Log Rotation

You can create a schedule for error/access log rotation for the configured
instances by using the log rotation option. For setting up log rotation, perform
the following steps:

Click Configuration tab

Select the configuration for which you need to enable/edit
log settings.

Click General Settings > Log Settings
tab

Click New button under Log Archiving Section

The fields in the new log rotation page is described in the following
section:

Table 13–7 Field Description > Setting Log Rotation

Field

Description

Event

Access Log Rotation / Server Log Rotation. Select
any or both of these options to configure rotation for that log type.

Time

The configured time when the event will start. Select the hour and minutes
value from the drop down box.

Every Day — Starts the event
specified every day at the specified time.

Specific Days — Starts the
event specified at specific days.

1. Days — Specify any day from Sunday to
Saturday.

2. Dates — Specify any day of the month from
1 to 31 as comma separated entries. E.g. 4,23,9

Specific Months — Starts the
event specified at the specific time and month. Specify month from January
to December.

Interval

Start the specified event after this time period.

1. Every Hours — Select the number of hours
from the drop down box.

2. Every Seconds — Select the number of seconds
from the drop down box.

If you need to delete the scheduled log rotation, Click Delete button in the Log
Archiving section.