summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/util/Database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util/Database.ts b/src/util/util/Database.ts
index 5a5a4b75..122a8793 100644
--- a/src/util/util/Database.ts
+++ b/src/util/util/Database.ts
@@ -51,7 +51,7 @@ const DataSourceOptions = new DataSource({
 	database: isSqlite ? dbConnectionString : undefined,
 	entities: [path.join(__dirname, "..", "entities", "*.js")],
 	synchronize: !!process.env.DB_SYNC,
-	logging: false,
+	logging: process.env["DB_LOGGING"] === "true",
 	bigNumberStrings: false,
 	supportBigNumbers: true,
 	name: "default",