From 9674c9394d91a951d80f27ee55cec48b89a83fe8 Mon Sep 17 00:00:00 2001 From: Marshal Date: Tue, 30 Jun 2026 02:52:19 +0000 Subject: [PATCH] Update logging configuration to use TYPEORM_LOGGING environment variable --- apps/edr-freight-api/src/config/database.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/edr-freight-api/src/config/database.config.ts b/apps/edr-freight-api/src/config/database.config.ts index 0e7375b19..a75731cfd 100644 --- a/apps/edr-freight-api/src/config/database.config.ts +++ b/apps/edr-freight-api/src/config/database.config.ts @@ -118,6 +118,6 @@ export default registerAs("database", (): TypeOrmModuleOptions => { migrationsRun: true, // Schema changes via migrations only (synchronize breaks ITMLS backfill on existing rows). synchronize: false, - logging: process.env.NODE_ENV === "development", + logging: process.env.TYPEORM_LOGGING === "true", }; });