Fix logging

This commit is contained in:
Sean Whalen
2018-10-09 20:48:31 -04:00
parent fd2d5093a9
commit 16dcb2edc7

View File

@@ -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_):