fixing logging changes

pull/82/head
haraksin 2020-06-15 18:12:24 -07:00
parent 6056501ff4
commit e4ab93e954
1 changed files with 2 additions and 0 deletions

View File

@ -15,10 +15,12 @@ from requests.exceptions import ConnectionError
logging_level = logging.INFO
log = logging.getLogger("__main__")
handler = logging.StreamHandler()
log.setLevel(logging_level)
handler.setLevel(logging_level)
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
handler.setFormatter(formatter)
log.addHandler(handler)
from opentaxii.signals import (