From 05f475fb6ec2c4a1acd2698d29a4c12b116a1d36 Mon Sep 17 00:00:00 2001 From: "Schmalzried, Terry (ts862m)" Date: Wed, 13 Nov 2019 16:47:45 -0500 Subject: DCAEGEN2-1919 add HTTPS and change log rotation Change-Id: I7859dde9460620e18edca887f5dfc611639b268c Issue-ID: DCAEGEN2-1919 Signed-off-by: Schmalzried, Terry (ts862m) --- etc/config.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'etc/config.json') 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 +} -- cgit 1.2.3-korg