summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Nemec <bnemec@redhat.com>2018-11-29 20:50:13 +0000
committerBen Nemec <bnemec@redhat.com>2018-11-29 20:50:13 +0000
commit8db5661b056f052bed8ac18762095a3759684513 (patch)
tree767236255684ce8d6fa4da2ad0ed567004001453
parent22e8a347c8ba914cefa26df42dde632937259a79 (diff)
downloadoslo-log-8db5661b056f052bed8ac18762095a3759684513.tar.gz
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
-rw-r--r--doc/source/admin/log_rotation.rst4
-rw-r--r--releasenotes/notes/log-rotation-595f8232cd987a6d.yaml1
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/admin/log_rotation.rst b/doc/source/admin/log_rotation.rst
index 88abfc1..0c3a70d 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 b66f6fb..6e7d823 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``