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.
@@ -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,
