diff options
Diffstat (limited to 'etc/config.json')
-rw-r--r-- | etc/config.json | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/config.json b/etc/config.json index b6f997b..1868386 100644 --- a/etc/config.json +++ b/etc/config.json @@ -21,13 +21,12 @@ }, "handlers": { "file": { - "class": "logging.handlers.TimedRotatingFileHandler", + "class": "logging.handlers.RotatingFileHandler", "formatter": "local", "filename" : "logs/policy_handler.log", "level": "DEBUG", - "when": "midnight", - "interval": 1, - "backupCount": 10, + "maxBytes": 200000000, + "backupCount": 5, "delay": true } }, @@ -41,4 +40,4 @@ "handlers": ["file"] } } -}
\ No newline at end of file +} |