diff --git a/elastalert/util.py b/elastalert/util.py index a5a4d5f7..949639bd 100644 --- a/elastalert/util.py +++ b/elastalert/util.py @@ -14,6 +14,7 @@ from elastalert.auth import Auth logging.basicConfig() +logging.captureWarnings(True) elastalert_logger = logging.getLogger('elastalert')