diff --git a/doc/source/admin/log_rotation.rst b/doc/source/admin/log_rotation.rst index 88abfc18..0c3a70d7 100644 --- a/doc/source/admin/log_rotation.rst +++ b/doc/source/admin/log_rotation.rst @@ -33,7 +33,7 @@ The following sample configures log rotation to be performed every 12 hours. [DEFAULT] log_rotation_type = interval log_rotate_interval = 12 - log_rotate_interval_type = H + log_rotate_interval_type = Hours max_logfile_count = 60 .. note:: @@ -42,4 +42,4 @@ The following sample configures log rotation to be performed every 12 hours. log rotation is performed, using the time of the last file modification or the service start time, to which the configured log rotation interval is added. This means that service restarts may delay periodic log file - rotations. \ No newline at end of file + rotations. diff --git a/releasenotes/notes/log-rotation-595f8232cd987a6d.yaml b/releasenotes/notes/log-rotation-595f8232cd987a6d.yaml index b66f6fb8..6e7d8236 100644 --- a/releasenotes/notes/log-rotation-595f8232cd987a6d.yaml +++ b/releasenotes/notes/log-rotation-595f8232cd987a6d.yaml @@ -7,3 +7,4 @@ features: * ``log_rotate_interval_type`` * ``max_logfile_count`` * ``max_logfile_size_mb`` + * ``log_rotation_type``