From a0a356e35607e143f4c5143dca450a54dc5c0674 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Wed, 18 Dec 2019 09:32:09 +0100 Subject: [PATCH] Changing log level of Openstack libraries to WARNING Change-Id: I82f0659611ca84e7a7a16f258e83fb0feb690326 Signed-off-by: garciadeblas --- RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.25.1