From 03618fd2e0b64436ba0cd59eae7df9d932f7fab5 Mon Sep 17 00:00:00 2001 From: Peter De-Ath Date: Fri, 12 Jul 2024 21:12:30 +0100 Subject: [PATCH] fix: update logging configuration in env.py --- backend/migrations/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/migrations/env.py b/backend/migrations/env.py index 7035cf917..8046abff3 100644 --- a/backend/migrations/env.py +++ b/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