Chapter 4 Web Server Logging

Entries in the definition can include the following:

wLogFormat specifies the Web server logging feature that supports NCSA, W3C Extended, and custom log file formats.

By default, the logformat property is w3c. To override, enter custom or NCSA in the configuration file, for example:

LogFormat NCSA

Note: For the NCSA and custom log formats, local time is used to time stamp transactions and for file rotation.

wLogInterval specifies the intervals at which new log files are created. Use one of the following values:

Hourly: A file is created every hour.

Daily: A file is created every day at midnight. Default value.

Weekly: A file is created every Sunday at midnight.

Monthly: A file is created on the first day of the month at midnight.

None: A file is created only once, when Web server logging starts.

Example

LogInterval Daily

wLogFileSizeLimit specifies the maximum size of the log file in MB. It can be used with any log interval (weekly, monthly, and so on.) A file is created when the maximum file size limit is reached or when the defined log interval time elapses.

To override this behavior, specify the size as the loginterval property so that a file is created only when the log file size limit is reached.

The default LogFileSizeLimit is 10 MB.

Example

LogFileSizeLimit 35

wLogFilenameFormat specifies the file name format of the log file. The name of the file can be of the following types:

Static: Specifies a constant string that contains the absolute path and file name.

Dynamic: Specifies an expression containing the following format: w Server IP address (%A)

w Date (%{format}t) w URL suffix (%x) w Host name (%v)

108

Page 108
Image 108
Citrix Systems CITRIX NETSCALER 9.3 manual LogFormat Ncsa