1
0
Fork 0
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:
Unrud 2017-10-09 23:38:12 +02:00 committed by GitHub
parent 322a0f9797
commit 908e516910

View file

@ -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
```