blob: de7f6cc66561254f85a9b89ae68631d42befed24 [file] [log] [blame]
{
"wservice_port" : 25577,
"consul_url" : "http://consul:8500",
"policy_handler" : {
"system" : "policy_handler",
"tls" : {
"cert_directory" : "etc/tls/certs/",
"cacert" : "cacert.pem"
}
},
"logging" : {
"version": 1,
"disable_existing_loggers": false,
"formatters": {
"local": {
"format": "%(asctime)s.%(msecs)03d %(levelname)+8s %(threadName)s %(name)s.%(funcName)s: %(message)s",
"datefmt": "%Y%m%d_%H%M%S"
}
},
"handlers": {
"file": {
"class": "logging.handlers.TimedRotatingFileHandler",
"formatter": "local",
"filename" : "logs/policy_handler.log",
"level": "DEBUG",
"when": "midnight",
"interval": 1,
"backupCount": 10,
"delay": true
}
},
"loggers": {
"policy_handler" : {
"handlers": ["file"],
"propagate":false
}
},
"root": {
"handlers": ["file"]
}
}
}