diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index 7be74b5..ee54d89 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -12,11 +12,15 @@ import json from elasticsearch.exceptions import ElasticsearchException -from parsedmarc import logger, IMAPError, get_dmarc_reports_from_inbox, \ +from parsedmarc import IMAPError, get_dmarc_reports_from_inbox, \ parse_report_file, elastic, splunk, save_output, watch_inbox, \ email_results, SMTPError, ParserError, __version__ +logger = logging.getLogger(__name__) +logger.setLevel(logging.WARNING) + + def _main(): """Called when the module is executed""" def process_reports(reports_):