updates
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import logging, sys
|
||||
from config import Config
|
||||
from config import config
|
||||
|
||||
# Logging config section
|
||||
|
||||
LOG_TO = sys.stdout
|
||||
LOG_LEVEL = logging.INFO
|
||||
|
||||
logger = logging.getLogger(Config.APP_NAME)
|
||||
logger = logging.getLogger(config.app_name)
|
||||
logger.setLevel(LOG_LEVEL)
|
||||
stdout_handler = logging.StreamHandler(LOG_TO)
|
||||
stdout_handler.setLevel(LOG_LEVEL)
|
||||
|
||||
Reference in New Issue
Block a user