summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEwan Mellor <ewan.mellor@citrix.com>2011-11-10 12:28:35 -0800
committerEwan Mellor <ewan.mellor@citrix.com>2011-11-11 11:47:43 -0800
commitf492fced12078733c8a84e69d222ec52c2fce609 (patch)
treea5f9cbf155209ff244ff1c63d3ebf7f4c94a9148
parentb9086d3ad2da90f31001c082d371c8b972ca767b (diff)
downloadnova-f492fced12078733c8a84e69d222ec52c2fce609.tar.gz
nova-f492fced12078733c8a84e69d222ec52c2fce609.tar.xz
nova-f492fced12078733c8a84e69d222ec52c2fce609.zip
Bug #888730: vmwareapi suds debug logging very verbose
Set suds log level to INFO by default, using default_log_levels. Change-Id: I4a1b09470aeba006112734fae9feef3d228eaced
-rw-r--r--doc/source/vmwareapi_readme.rst8
-rw-r--r--nova/log.py1
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/vmwareapi_readme.rst b/doc/source/vmwareapi_readme.rst
index 85f2694c0..5aea91a8a 100644
--- a/doc/source/vmwareapi_readme.rst
+++ b/doc/source/vmwareapi_readme.rst
@@ -104,6 +104,14 @@ Note:- Due to a faulty wsdl being shipped with ESX vSphere 4.1 we need a working
* Set the flag "--vmwareapi_wsdl_loc" with url, "http://<WEB SERVER>/vimService.wsdl"
+Debug flag
+----------
+::
+
+suds logging is very verbose and turned off by default. If you need to
+debug the VMware API calls, change the default_log_levels flag appropriately.
+
+
VLAN Network Manager
--------------------
VLAN network support is added through a custom network driver in the nova-compute node i.e "nova.network.vmwareapi_net" and it uses a Physical ethernet adapter on the VMware ESX/ESXi host for VLAN Networking (the name of the ethernet adapter is specified as vlan_interface flag in the nova-compute configuration flag) in the nova-compute node.
diff --git a/nova/log.py b/nova/log.py
index 0f2153af4..2121933ab 100644
--- a/nova/log.py
+++ b/nova/log.py
@@ -64,6 +64,7 @@ flags.DEFINE_list('default_log_levels',
['amqplib=WARN',
'sqlalchemy=WARN',
'boto=WARN',
+ 'suds=INFO',
'eventlet.wsgi.server=WARN'],
'list of logger=LEVEL pairs')
flags.DEFINE_bool('use_syslog', False, 'output to syslog')