This commit is contained in:
SG
2025-06-17 18:13:47 +03:00
parent 0ea2fbeda6
commit 00f1c1a9ae
4 changed files with 12 additions and 6 deletions

View File

@@ -5,6 +5,8 @@ from config import config
LOG_TO = sys.stdout
LOG_LEVEL = logging.INFO
if config.debug == True:
LOG_LEVEL = logging.DEBUG
logger = logging.getLogger(config.app_name)
logger.setLevel(LOG_LEVEL)