From f5af0e2b0b308b1ff70fbe7a1d3565b0ac7cb240 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 29 Nov 2023 21:16:15 +0200 Subject: [PATCH] Change rollover interval `midnight` in docs to `MIDNIGHT` --- circus/stream/file_stream.py | 2 +- docs/source/for-ops/configuration.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/circus/stream/file_stream.py b/circus/stream/file_stream.py index eb1f8ac3c..08640ed17 100644 --- a/circus/stream/file_stream.py +++ b/circus/stream/file_stream.py @@ -218,7 +218,7 @@ def __init__(self, filename=None, backup_count=0, time_format=None, - utc: if True, times in UTC will be used. otherwise local time is used. Default: False. - rotate_when: the type of interval. Can be S, M, H, D, - 'W0'-'W6' or 'midnight'. See Python's TimedRotatingFileHandler + 'W0'-'W6' or 'MIDNIGHT'. See Python's TimedRotatingFileHandler for more information. - rotate_interval: Rollover interval in seconds. Default: 1 diff --git a/docs/source/for-ops/configuration.rst b/docs/source/for-ops/configuration.rst index bc34597f5..b18d5bce1 100644 --- a/docs/source/for-ops/configuration.rst +++ b/docs/source/for-ops/configuration.rst @@ -697,7 +697,7 @@ TimedRotatingFileStream 'H', Hours 'D', Days 'W0'-'W6', Weekday (0=Monday) - 'midnight', Roll over at midnight + 'MIDNIGHT', Roll over at midnight **rotate_interval** The rollover interval.