From 5c2939f23b8ebf23ccfd0a4dd41fadc9f344ac6e Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 10 May 2019 11:29:08 -0400 Subject: [PATCH] Remove watcher.openstack.common=WARN from _DEFAULT_LOG_LEVELS Hard-coding watcher.openstack.common to warning level logging only makes it hard to debug watcher's interactions with other services, like when it's triggering and monitoring a server live migration. Since debug logging is controlled via the "debug" configuration option, we can just rely on that to filter out debug logs within watcher itself. Note this has been this way since change I699e0ab082657880998d8618fe29eb7f56c6c661 back in 2015 and there was no explanation why the watcher.openstack.common logging was set to WARN level. Change-Id: I939403a4ae36d1aa9ea83badb9404bc37d18a1a6 Related-Bug: #1828598 --- watcher/common/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/common/service.py b/watcher/common/service.py index 0b8d31788..077ec4606 100644 --- a/watcher/common/service.py +++ b/watcher/common/service.py @@ -62,7 +62,7 @@ _DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'qpid.messaging=INFO', 'keystoneclient=INFO', 'stevedore=INFO', 'eventlet.wsgi.server=WARN', 'iso8601=WARN', 'requests=WARN', 'neutronclient=WARN', - 'glanceclient=WARN', 'watcher.openstack.common=WARN', + 'glanceclient=WARN', 'apscheduler=WARN'] Singleton = service.Singleton