blob: 1868386b4021f52df5c72b8dd9146ee9263df178 [file] [log] [blame]
alex_sh9d980ce2017-08-23 17:30:56 -04001{
alex_sh9d980ce2017-08-23 17:30:56 -04002 "wservice_port" : 25577,
Alex Shatov209f8232018-09-20 15:15:45 -04003 "consul_url" : "http://consul:8500",
Alex Shatova39f4e82018-12-05 15:23:50 -05004 "consul_timeout_in_secs" : 60,
Alex Shatov9a4d3c52019-04-01 11:32:06 -04005 "pdp_api_version" : null,
alex_sh9d980ce2017-08-23 17:30:56 -04006 "policy_handler" : {
Alex Shatov6556fd72018-09-14 16:54:05 -04007 "system" : "policy_handler",
8 "tls" : {
9 "cert_directory" : "etc/tls/certs/",
10 "cacert" : "cacert.pem"
11 }
alex_sh9d980ce2017-08-23 17:30:56 -040012 },
13 "logging" : {
14 "version": 1,
15 "disable_existing_loggers": false,
16 "formatters": {
17 "local": {
18 "format": "%(asctime)s.%(msecs)03d %(levelname)+8s %(threadName)s %(name)s.%(funcName)s: %(message)s",
19 "datefmt": "%Y%m%d_%H%M%S"
20 }
21 },
22 "handlers": {
23 "file": {
Schmalzried, Terry (ts862m)05f475f2019-11-13 16:47:45 -050024 "class": "logging.handlers.RotatingFileHandler",
alex_sh9d980ce2017-08-23 17:30:56 -040025 "formatter": "local",
26 "filename" : "logs/policy_handler.log",
27 "level": "DEBUG",
Schmalzried, Terry (ts862m)05f475f2019-11-13 16:47:45 -050028 "maxBytes": 200000000,
29 "backupCount": 5,
alex_sh9d980ce2017-08-23 17:30:56 -040030 "delay": true
31 }
32 },
33 "loggers": {
34 "policy_handler" : {
35 "handlers": ["file"],
36 "propagate":false
37 }
38 },
39 "root": {
40 "handlers": ["file"]
41 }
42 }
Schmalzried, Terry (ts862m)05f475f2019-11-13 16:47:45 -050043}