From beb6774b73553fcb37ba9da2a6f8d7a5cece894b Mon Sep 17 00:00:00 2001 From: Michael Still Date: Thu, 3 Sep 2015 17:23:47 +1000 Subject: [PATCH] Add notes explaining vmware's suds usage As per the review comments from the recent revert of suds logging changes (I43b66aa6be6fc1b2ed43650bd5cfe69963d8a16e), note that suds is used by the vmware driver and removing the suds logging config causes heaps of extra log lines for their tempest runs. Change-Id: I2dd7126f895eb862bdb2a5b93d17be6571e01369 --- etc/nova/logging_sample.conf | 3 +++ nova/config.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/etc/nova/logging_sample.conf b/etc/nova/logging_sample.conf index 15a5f1f9a1..03c6944fcb 100644 --- a/etc/nova/logging_sample.conf +++ b/etc/nova/logging_sample.conf @@ -39,6 +39,9 @@ level = WARNING handlers = stderr qualname = boto +# NOTE(mikal): suds is used by the vmware driver, removing this will +# cause many extraneous log lines for their tempest runs. Refer to +# https://review.openstack.org/#/c/219225/ for details. [logger_suds] level = INFO handlers = stderr diff --git a/nova/config.py b/nova/config.py index c7b5c85732..4e0950a126 100644 --- a/nova/config.py +++ b/nova/config.py @@ -29,6 +29,9 @@ CONF = cfg.CONF _DEFAULT_SQL_CONNECTION = 'sqlite:///' + paths.state_path_def('nova.sqlite') +# NOTE(mikal): suds is used by the vmware driver, removing this will +# cause many extraneous log lines for their tempest runs. Refer to +# https://review.openstack.org/#/c/219225/ for details. _DEFAULT_LOG_LEVELS = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', 'oslo_messaging=INFO', 'iso8601=WARN',