Merge branch 'master' of https://github.com/arcsector/MISP-Taxii-Server
commit
27e667b2f0
|
@ -15,10 +15,12 @@ from requests.exceptions import ConnectionError
|
||||||
|
|
||||||
logging_level = logging.INFO
|
logging_level = logging.INFO
|
||||||
log = logging.getLogger("__main__")
|
log = logging.getLogger("__main__")
|
||||||
|
handler = logging.StreamHandler()
|
||||||
log.setLevel(logging_level)
|
log.setLevel(logging_level)
|
||||||
handler.setLevel(logging_level)
|
handler.setLevel(logging_level)
|
||||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||||
handler.setFormatter(formatter)
|
handler.setFormatter(formatter)
|
||||||
|
log.addHandler(handler)
|
||||||
|
|
||||||
|
|
||||||
from opentaxii.signals import (
|
from opentaxii.signals import (
|
||||||
|
|
Loading…
Reference in New Issue