Removed double initialization of logging

This commit is contained in:
Salvatore Ingala
2019-10-08 18:23:31 +07:00
parent 2a5dd48950
commit 7f9c7d8609

View File

@@ -20,8 +20,6 @@ class StructuredMessage(object):
M = StructuredMessage # to improve readability
logging.basicConfig(level=logging.INFO, format='%(message)s')
# Configure logging
logging.basicConfig(format='%(message)s', level=logging.INFO, handlers=[
logging.FileHandler(conf.SERVER_LOG_FILE),