From: garciadeblas Date: Wed, 18 Dec 2019 08:32:09 +0000 (+0100) Subject: Changing log level of Openstack libraries to WARNING X-Git-Tag: v7.0.1rc1~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F8420%2F2;p=osm%2FRO.git Changing log level of Openstack libraries to WARNING Change-Id: I82f0659611ca84e7a7a16f258e83fb0feb690326 Signed-off-by: garciadeblas --- diff --git a/RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py b/RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py index 15ef7133..dad8eb63 100644 --- a/RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py +++ b/RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py @@ -143,6 +143,9 @@ class vimconnector(vimconn.vimconnector): else: self.endpoint_type = None + logging.getLogger('urllib3').setLevel(logging.WARNING) + logging.getLogger('keystoneauth').setLevel(logging.WARNING) + logging.getLogger('novaclient').setLevel(logging.WARNING) self.logger = logging.getLogger('openmano.vim.openstack') # allow security_groups to be a list or a single string