mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Fix timed rotation logging example (fixes #723)
This commit is contained in:
parent
322a0f9797
commit
908e516910
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class = handlers.TimedRotatingFileHandler
|
|||
# Specify the output file and parameter for rotation here.
|
||||
# See https://docs.python.org/3/library/logging.handlers.html#logging.handlers.TimedRotatingFileHandler
|
||||
# Example: rollover at midnight and keep 7 files (means one week)
|
||||
args = ('/var/log/radicale/log', when='midnight', interval=1, backupCount=7)
|
||||
args = ('/var/log/radicale/log', 'midnight', 1, 7)
|
||||
formatter = full
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue