Modifying Default IP Logging Parameters

If global logging for IP has been enabled, IP packets are automatically logged to a text file located in the SYS:ETC\LOGS\IPPKTLOG directory on the server. The configuration file, SYS:ETC\IPPKTLOG.CFG, specifies the logging parameters.

IMPORTANT:  IP packets that match a specific packet filtering rule are not logged unless logging has been explicitly enabled for the filter.

Refer to the following table for the logging configuration parameters in IPPKTLOG.CFG.


Table 3. IPPKTLOG.CFG Configuration Parameters

Parameter Default Value Available Settings

LOG_FILE_TYPE

1

1 = Sequential log file.

LOG_FILE_LOCATION

SYS:ETC\LOGS\IPPKTLOG

Any directory.

LOG_FILE_ROLL_METHOD

3

1 = Roll log file every n hours, where n is the value assigned to LOG_FILE_ROLL_
METHOD_VALUE.

2 = Roll log file every n days, where n is the value assigned to LOG_FILE_ROLL_
METHOD_VALUE.

3 = Roll log file when the log file size exceeds n KB, where n is the value assigned to LOG_FILE_ROLL_METHOD_
VALUE.

LOG_FILE_ROLL_METHOD_
VALUE

100

Any value representing hours when LOG_FILE_ROLL_METHOD is 1.

Any value representing days when LOG_FILE_ROLL_METHOD is 2.

Any value representing KB when LOG_FILE_ROLL_METHOD is 3.

LOG_FILE_DELETE_METHOD

2

1 = Do not delete log files.

2 = Begin deleting log files when the number of log files reaches the limit specified by LOG_FILE_DELETE_
METHOD_VALUE.

3 = Begin deleting log files when the age of the log files reaches n hours, where n is the value assigned to LOG_FILE_DELETE_
METHOD_VALUE.

LOG_FILE_DELETE_METHOD_VALUE

512

Any value representing the number of files when LOG_FILE_DELETE_METHOD is 2.

Any value representing the number of hours when LOG_FILE_DELETE_METHOD is assigned a value of 3. The value assigned should be greater than LOG_FILE_ROLL_
METHOD_VALUE if LOG_FILE_ROLL_ METHOD is assigned a value of 1.

LOG_CACHE_BUFFER_SIZE

80

Any value representing the size in KB. The value assigned should not exceed the available memory on the server.

DATE_TIME_FORMAT

2

1 = Do not insert a date and time stamp for each entry to the log file.

2 = Insert a date and time stamp for each entry to the log file. The date and time have the format of MM/DD/YYYY, HH:MM:SS +/- TimeZoneOffset, where MM is the month, DD is the day, and YYYY is the year.

If global logging for IP has been enabled, the Novell BorderManager 3.7 server is also configured by default to shut down the public interface when logging fails to occur. A logging failure can occur when the server experiences a shortage of disk space. If you want to disable the automatic shutdown of the public interface when logging fails, at the server console enter

SET SHUTDOWN PUBLIC INTERFACE ON LOG FAILURE = OFF

To reenable the automatic shutdown of the public interface, enter

SET SHUTDOWN PUBLIC INTERFACE ON LOG FAILURE = ON