This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new 20d5a13 Logging is handled by the Elastic helper class
20d5a13 is described below
commit 20d5a13d023f56f77f0724856a1d83835ba9437f
Author: Sebb <[email protected]>
AuthorDate: Sat Jan 15 15:38:02 2022 +0000
Logging is handled by the Elastic helper class
---
tools/import-mbox.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 26d68be..11ba16a 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -632,9 +632,6 @@ if args.timeout:
timeout = args.timeout[0]
baddies = 0
-# elasticsearch logs lots of warnings on retries/connection failure
-logging.getLogger("elasticsearch").setLevel(logging.ERROR)
-
verbose_logger = None
if args.verbose:
verbose_logger = logging.getLogger("verbose")