Configuring logging

The configuration file FWLOG.CNF allows you to select the types of message that will be logged. This configuration file must be located in the directory indicated by the environment variable ETC. It does not exist by default and must be created manually.

Within the configuration file, you should specify the logging level. The correct syntax is:

    level=xx

Where xx is equal to one of the following values:

All messages which match the specified logging level, or a higher level, will be logged.

If no logging level is specified, the default level is 30 (which means that Warnings, Errors, and Alerts will be logged).

If this configuration file does not exist, logging will function but an error message will be recorded in the log error file (see below).

Environment variables

Normally, log files are written to the directory indicated by the environment variable ETC. This may be changed by setting the FWLOGS environment variable in CONFIG.SYS. For example, the following will cause log files to be written into C:\MPTN\ETC\SECURITY\LOGS (which must exist):

    SET FWLOGS=C:\MPTN\ETC\SECURITY\LOGS

If the logging daemon encounters a problem, an error message will be recorded in the file FWERROR.ERR. This file is normally located in the directory indicated by the environment variable ETC, but this may be changed by defining the FWERROR environment variable. For example:

    SET FWERROR=C:\MPTN\ETC\SECURITY\LOGS


[Back: Enabling logging]
[Next: Viewing log files]