Merge "Define test logging setting in openstack_auth"

This commit is contained in:
Zuul 2018-01-25 18:03:26 +00:00 committed by Gerrit Code Review
commit 464ed49957
1 changed files with 17 additions and 0 deletions

View File

@ -74,3 +74,20 @@ TEMPLATES = [
]
AUTH_USER_MODEL = 'openstack_auth.User'
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'test': {
'level': 'ERROR',
'class': 'logging.StreamHandler',
}
},
'loggers': {
'openstack_auth': {
'handlers': ['test'],
'propagate': False,
},
}
}