|
|
@ -2,8 +2,11 @@ import logging
|
|
|
|
|
|
|
|
|
|
|
|
logger = logging.getLogger()
|
|
|
|
logger = logging.getLogger()
|
|
|
|
formatter = logging.Formatter("%(message)s")
|
|
|
|
formatter = logging.Formatter("%(message)s")
|
|
|
|
|
|
|
|
|
|
|
|
ch = logging.StreamHandler()
|
|
|
|
ch = logging.StreamHandler()
|
|
|
|
|
|
|
|
|
|
|
|
ch.setFormatter(formatter)
|
|
|
|
ch.setFormatter(formatter)
|
|
|
|
|
|
|
|
|
|
|
|
logger.addHandler(ch)
|
|
|
|
logger.addHandler(ch)
|
|
|
|
|
|
|
|
|
|
|
|
logger.setLevel(logging.DEBUG)
|
|
|
|
logger.setLevel(logging.DEBUG)
|
|
|
|