Removed additional stdout StreamHandler.
This commit is contained in:
@@ -10,9 +10,9 @@ def setup_logging():
|
||||
FORMAT = "%(asctime)s %(message)s"
|
||||
logging.basicConfig(format=FORMAT, level=logging.INFO)
|
||||
logger = logging.getLogger()
|
||||
handler = logging.StreamHandler(sys.stdout)
|
||||
handler.setLevel(logging.INFO)
|
||||
logger.addHandler(handler)
|
||||
#handler = logging.StreamHandler(sys.stdout)
|
||||
#handler.setLevel(logging.INFO)
|
||||
#logger.addHandler(handler)
|
||||
return logger
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user