
Add the support for actually sending the audit messages, or logging them using the standard logging mechanisms. Change-Id: I98067da8db4987f9f9859a8c6d5443a94677f856
49 lines
1.0 KiB
Python
49 lines
1.0 KiB
Python
server = {
|
|
'port': '5000',
|
|
'host': '0.0.0.0'
|
|
}
|
|
|
|
# Pecan Application Configurations
|
|
app = {
|
|
'root': 'anchor.controllers.RootController',
|
|
'modules': ['anchor'],
|
|
# 'static_root': '%(confdir)s/public',
|
|
# 'template_path': '%(confdir)s/${package}/templates',
|
|
'debug': True,
|
|
'errors': {
|
|
'404': '/error/404',
|
|
'__force_dict__': True
|
|
},
|
|
}
|
|
|
|
logging = {
|
|
"formatters": {
|
|
"simple": {
|
|
"format": ("%(asctime)s %(levelname)-5.5s [%(name)s][%(process)d/"
|
|
"%(threadName)s] %(message)s")
|
|
},
|
|
},
|
|
"handlers": {
|
|
"console": {
|
|
"class": "logging.StreamHandler",
|
|
"formatter": "simple",
|
|
"level": "DEBUG"
|
|
},
|
|
},
|
|
"loggers": {
|
|
"anchor": {
|
|
"level": "DEBUG"
|
|
},
|
|
"wsgi": {
|
|
"level": "INFO"
|
|
},
|
|
"oslo_messaging": {
|
|
"level": "DEBUG"
|
|
},
|
|
},
|
|
"root": {
|
|
"handlers": ["console"],
|
|
"level": "INFO"
|
|
},
|
|
}
|