Skip to content
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