Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change rollover interval midnight in docs to MIDNIGHT #1214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion circus/stream/file_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/source/for-ops/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down