From a2316b7caff4958236610e009fbe0949f28dd57f Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 25 Apr 2024 08:05:45 +0900 Subject: [PATCH] chore (backend): move SQL query logs to trace level (#10907) --- 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 d054aaf109..360ccfa38c 100644 --- a/packages/backend/src/db/postgre.ts +++ b/packages/backend/src/db/postgre.ts @@ -94,7 +94,7 @@ class DbLogger implements Logger { public logQueryError(error: string, query: string, parameters?: any[]) { sqlLogger.error(error); - sqlLogger.error(this.highlight(query)); + sqlLogger.trace(this.highlight(query)); } public logQuerySlow(time: number, query: string, parameters?: any[]) {