max_syslog_file_count

2025-04-24 03:41:38  Updated

max_syslog_file_count specifies the maximum number of archive log files that can be retained. The value 0 indicates that no archive log will be deleted.

Note

This parameter applies only when the enable_syslog_file_compress is set to true.

Attribute Description
Parameter type Integer
Default value 0
Value range [0, +∞)
Effective upon ODP restart No

This parameter must be used in combination with the max_syslog_file_time parameter. The following table describes the combinations of these two parameters.

max_syslog_file_time = 0 max_syslog_file_time > 0
max_syslog_file_count = 0 Archive logs are not cleared. This combination applies to scenarios with sufficient disk capacities. Archive log retention is restricted only by time. If the retention period of archive logs exceeds the specified threshold, the logs are deleted.
max_syslog_file_count > 0 Archive log retention is restricted only by space. If the number of archive log files exceeds the value of max_syslog_file_count, archive logs are deleted starting from the earliest ones. Archive log retention is restricted by both time and space. This is the recommended optimal configuration.

Contact Us