From 8db5661b056f052bed8ac18762095a3759684513 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Thu, 29 Nov 2018 20:50:13 +0000 Subject: [PATCH] Fix up nits in log rotation change Just a couple of doc things that became out of date due to some code changes during the review process. Change-Id: I5820f7940d8d32546174da132db5be5a209a2200 --- doc/source/admin/log_rotation.rst | 4 ++-- releasenotes/notes/log-rotation-595f8232cd987a6d.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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``