summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Herve <therve@redhat.com>2017-04-19 13:59:11 +0200
committerThomas Herve <therve@redhat.com>2017-04-19 21:54:51 +0000
commit0aabc905b5613b5b7945992a70184d3b14e9b0f0 (patch)
tree4bceb4e4aae1d6521eb93f439d45cc6b0125cb78
parent8593e2e8b7ba7e825a57160a5fe7b403316030a7 (diff)
downloadoslo-log-0aabc905b5613b5b7945992a70184d3b14e9b0f0.tar.gz
Add oslo_messaging to the list of log levels
The namespace name (oslo.messaging) is set to INFO, but we don't do it with the oslo_messaging package name. It logs with both prefix, so we should set INFO on both. Change-Id: Ia8e53b0b40dd546abecc73abe855939200167ee8
-rw-r--r--oslo_log/_options.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/oslo_log/_options.py b/oslo_log/_options.py
index 33319d7..d7459c7 100644
--- a/oslo_log/_options.py
+++ b/oslo_log/_options.py
@@ -18,7 +18,8 @@ _DEFAULT_LOG_DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN',
'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO',
- 'oslo.messaging=INFO', 'iso8601=WARN',
+ 'oslo.messaging=INFO', 'oslo_messaging=INFO',
+ 'iso8601=WARN',
'requests.packages.urllib3.connectionpool=WARN',
'urllib3.connectionpool=WARN', 'websocket=WARN',
'requests.packages.urllib3.util.retry=WARN',