blob: b83cd090a457bf2d31851d40ae7e3c1313663e95 [file] [log] [blame]
alex_sh9d980ce2017-08-23 17:30:56 -04001{
Alex Shatova5bfd6a2017-09-15 14:03:13 -04002 "version" : "1.0.0",
alex_sh9d980ce2017-08-23 17:30:56 -04003 "wservice_port" : 25577,
4 "policy_handler" : {
5 "system" : "policy_handler"
6 },
7 "logging" : {
8 "version": 1,
9 "disable_existing_loggers": false,
10 "formatters": {
11 "local": {
12 "format": "%(asctime)s.%(msecs)03d %(levelname)+8s %(threadName)s %(name)s.%(funcName)s: %(message)s",
13 "datefmt": "%Y%m%d_%H%M%S"
14 }
15 },
16 "handlers": {
17 "file": {
18 "class": "logging.handlers.TimedRotatingFileHandler",
19 "formatter": "local",
20 "filename" : "logs/policy_handler.log",
21 "level": "DEBUG",
22 "when": "midnight",
23 "interval": 1,
24 "backupCount": 10,
25 "delay": true
26 }
27 },
28 "loggers": {
29 "policy_handler" : {
30 "handlers": ["file"],
31 "propagate":false
32 }
33 },
34 "root": {
35 "handlers": ["file"]
36 }
37 }
38}