You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/10/15 07:56:50 UTC
[incubator-datalab] 01/02: [DATALAB-2409]: removed logging warnings
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 26ff7d1ef675019ba5c02cbbe48540e2a183e20e
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Fri Oct 15 10:55:34 2021 +0300
[DATALAB-2409]: removed logging warnings
---
infrastructure-provisioning/src/general/lib/os/logger.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/logger.py b/infrastructure-provisioning/src/general/lib/os/logger.py
index 1f5f1a6..ceb04bc 100644
--- a/infrastructure-provisioning/src/general/lib/os/logger.py
+++ b/infrastructure-provisioning/src/general/lib/os/logger.py
@@ -30,4 +30,5 @@ logging.basicConfig(format='%(levelname)-8s [%(asctime)s] %(message)s',
filemode='a')
console = logging.StreamHandler()
console.setLevel(logging.INFO)
-logging.getLogger('').addHandler(console)
\ No newline at end of file
+logging.getLogger('').addHandler(console)
+logging.getLogger('googleapiclient.discovery_cache').setLevel(logging.ERROR)
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org