mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-12 17:51:26 +00:00
Fix logging
This commit is contained in:
@@ -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_):
|
||||
|
||||
Reference in New Issue
Block a user