aboutsummaryrefslogtreecommitdiffstats
path: root/etc/config.json
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-13 16:47:45 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2019-11-14 15:40:57 -0500
commit05f475fb6ec2c4a1acd2698d29a4c12b116a1d36 (patch)
tree0d834d29a6d78fe678904be5655d76fe9913b2b8 /etc/config.json
parent8dc742e747e0f418665ab9422f5c6c2cda94869b (diff)
DCAEGEN2-1919 add HTTPS and change log rotation
Change-Id: I7859dde9460620e18edca887f5dfc611639b268c Issue-ID: DCAEGEN2-1919 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'etc/config.json')
-rw-r--r--etc/config.json9
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
+}