removed old olog format line
This commit is contained in:
parent
e4c3d9d13a
commit
afb6af5f87
1 changed files with 3 additions and 1 deletions
|
@ -5,10 +5,12 @@ import os
|
||||||
|
|
||||||
from core import constants
|
from core import constants
|
||||||
|
|
||||||
|
|
||||||
|
# setup logging
|
||||||
log_config_path = os.path.join(constants.CORE_CONF_DIR, "logging.conf")
|
log_config_path = os.path.join(constants.CORE_CONF_DIR, "logging.conf")
|
||||||
with open(log_config_path, "r") as log_config_file:
|
with open(log_config_path, "r") as log_config_file:
|
||||||
log_config = json.load(log_config_file)
|
log_config = json.load(log_config_file)
|
||||||
logging.config.dictConfig(log_config)
|
logging.config.dictConfig(log_config)
|
||||||
|
|
||||||
#logging.basicConfig(format="%(asctime)s - %(levelname)s - %(module)s:%(funcName)s - %(message)s", level=logging.DEBUG)
|
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue