Add more entries to LOGGING configuration

There are several modules not covered by horizon LOGGING settings
and they lead to unnecessary logging output.

Also merges logging entries with the null handler
into a single place.

Change-Id: Ib3d656dc8c14d7903629a1317e87c3670b8e1d98
This commit is contained in:
Akihiro Motoki 2017-09-07 08:47:19 +00:00
parent 7a2e9aaac6
commit 962b93478c

View File

@ -562,16 +562,6 @@ LOGGING = {
},
},
'loggers': {
# Logging from django.db.backends is VERY verbose, send to null
# by default.
'django.db.backends': {
'handlers': ['null'],
'propagate': False,
},
'requests': {
'handlers': ['null'],
'propagate': False,
},
'horizon': {
'handlers': ['console'],
'level': 'DEBUG',
@ -597,6 +587,11 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False,
},
'keystoneauth': {
'handlers': ['console'],
'level': 'DEBUG',
'propagate': False,
},
'keystoneclient': {
'handlers': ['console'],
'level': 'DEBUG',
@ -622,6 +617,11 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False,
},
'oslo_policy': {
'handlers': ['console'],
'level': 'DEBUG',
'propagate': False,
},
'openstack_auth': {
'handlers': ['console'],
'level': 'DEBUG',
@ -637,6 +637,24 @@ LOGGING = {
'level': 'DEBUG',
'propagate': False,
},
# Logging from django.db.backends is VERY verbose, send to null
# by default.
'django.db.backends': {
'handlers': ['null'],
'propagate': False,
},
'requests': {
'handlers': ['null'],
'propagate': False,
},
'urllib3': {
'handlers': ['null'],
'propagate': False,
},
'chardet.charsetprober': {
'handlers': ['null'],
'propagate': False,
},
'iso8601': {
'handlers': ['null'],
'propagate': False,
@ -893,4 +911,4 @@ ALLOWED_PRIVATE_SUBNET_CIDR = {'ipv4': [], 'ipv6': []}
# prior to the password expiration.
# Once the password expires keystone will deny the access and users must
# contact an admin to change their password.
#PASSWORD_EXPIRES_WARNING_THRESHOLD_DAYS = 0
#PASSWORD_EXPIRES_WARNING_THRESHOLD_DAYS = 0