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 d33eccb  Don't in Elastic class
d33eccb is described below

commit d33eccb66fe9c7b0f3983cf3aac854dde26756a8
Author: Sebb <[email protected]>
AuthorDate: Thu Aug 20 16:15:56 2020 +0100

    Don't in Elastic class
---
 tools/archiver.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index bae6acf..c505af4 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -730,10 +730,6 @@ def main():
 
     if args.verbose:
         logging.basicConfig(stream=sys.stdout, level=logging.INFO)
-    else:
-        # elasticsearch logs lots of warnings on retries/connection failure
-        # Also eliminates: 'Undecodable raw error response from server:' 
warning message
-        logging.getLogger("elasticsearch").setLevel(logging.ERROR)
 
     archie = Archiver(
         generator=args.generator or archiver_generator, 
parse_html=args.html2text

Reply via email to