omni::structuredlog::kLogRetentionCountSetting

Defined in omni/structuredlog/StructuredLogSettingsUtils.h

constexpr const char *omni::structuredlog::kLogRetentionCountSetting = "/structuredLog/logRetentionCount"

The setting path for the log retention count.

This controls how many log files will be left in the log directory when a log rotation occurs. When a log file reaches its size limit, it is renamed and a new empty log with the original name is created. A rolling history of the few most recent logs is maintained after a rotation. This setting controls exactly how many of each log will be retained after a rotation. This defaults to 3.