Changing log level of Openstack libraries to WARNING 20/8420/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 18 Dec 2019 08:32:09 +0000 (09:32 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Dec 2019 15:59:13 +0000 (16:59 +0100)
Change-Id: I82f0659611ca84e7a7a16f258e83fb0feb690326
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
RO-VIM-openstack/osm_rovim_openstack/vimconn_openstack.py

index 15ef713..dad8eb6 100644 (file)
@@ -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