11.1 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.
For more information on logging configuration parameters in
ippktlog.cfg, refer to the following table:
Table 11-1 ippktlog.cfg Configuration Parameters
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 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 the following command:
SET SHUTDOWN PUBLIC INTERFACE ON LOG FAILURE = OFF
To re-enable the automatic shutdown of the public interface, enter the following command:
SET SHUTDOWN PUBLIC INTERFACE ON LOG FAILURE = ON