alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 1 | { |
alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 2 | "wservice_port" : 25577, |
Alex Shatov | 209f823 | 2018-09-20 15:15:45 -0400 | [diff] [blame] | 3 | "consul_url" : "http://consul:8500", |
Alex Shatov | a39f4e8 | 2018-12-05 15:23:50 -0500 | [diff] [blame] | 4 | "consul_timeout_in_secs" : 60, |
Alex Shatov | 9a4d3c5 | 2019-04-01 11:32:06 -0400 | [diff] [blame] | 5 | "pdp_api_version" : null, |
alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 6 | "policy_handler" : { |
Alex Shatov | 6556fd7 | 2018-09-14 16:54:05 -0400 | [diff] [blame] | 7 | "system" : "policy_handler", |
| 8 | "tls" : { |
| 9 | "cert_directory" : "etc/tls/certs/", |
| 10 | "cacert" : "cacert.pem" |
| 11 | } |
alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 12 | }, |
| 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) | 05f475f | 2019-11-13 16:47:45 -0500 | [diff] [blame] | 24 | "class": "logging.handlers.RotatingFileHandler", |
alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 25 | "formatter": "local", |
| 26 | "filename" : "logs/policy_handler.log", |
| 27 | "level": "DEBUG", |
Schmalzried, Terry (ts862m) | 05f475f | 2019-11-13 16:47:45 -0500 | [diff] [blame] | 28 | "maxBytes": 200000000, |
| 29 | "backupCount": 5, |
alex_sh | 9d980ce | 2017-08-23 17:30:56 -0400 | [diff] [blame] | 30 | "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) | 05f475f | 2019-11-13 16:47:45 -0500 | [diff] [blame] | 43 | } |