Removed additional stdout StreamHandler.
This commit is contained in:
1 parent
a4be8f1d9e
commit
f4b49dd8c4
1 file changed
+3
-3
@@ -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