From 81ee9025fbd4a178215a314c8d6aa9888084d74a Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 Mar 2022 05:45:09 +0900 Subject: [PATCH] tweak log --- packages/backend/src/db/postgre.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/db/postgre.ts b/packages/backend/src/db/postgre.ts index 066a3c673..5fd1f95cc 100644 --- a/packages/backend/src/db/postgre.ts +++ b/packages/backend/src/db/postgre.ts @@ -85,7 +85,7 @@ class MyCustomLogger implements Logger { public logQuery(query: string, parameters?: any[]) { if (envOption.verbose) { - sqlLogger.info(this.highlight(query)); + sqlLogger.info(this.highlight(query).substring(0, 100)); } }