소스 검색

fix: update logging configuration in env.py

Peter De-Ath 10 달 전
부모
커밋
03618fd2e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      backend/migrations/env.py

+ 1 - 1
backend/migrations/env.py

@@ -27,7 +27,7 @@ config = context.config
 # Interpret the config file for Python logging.
 # This line sets up loggers basically.
 if config.config_file_name is not None:
-    fileConfig(config.config_file_name)
+    fileConfig(config.config_file_name, disable_existing_loggers=False)
 
 # add your model's MetaData object here
 # for 'autogenerate' support