chore (backend): move SQL query logs to trace level (#10907)
This commit is contained in:
parent
322b2392de
commit
a2316b7caf
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class DbLogger implements Logger {
|
||||||
|
|
||||||
public logQueryError(error: string, query: string, parameters?: any[]) {
|
public logQueryError(error: string, query: string, parameters?: any[]) {
|
||||||
sqlLogger.error(error);
|
sqlLogger.error(error);
|
||||||
sqlLogger.error(this.highlight(query));
|
sqlLogger.trace(this.highlight(query));
|
||||||
}
|
}
|
||||||
|
|
||||||
public logQuerySlow(time: number, query: string, parameters?: any[]) {
|
public logQuerySlow(time: number, query: string, parameters?: any[]) {
|
||||||
|
|
Loading…
Reference in a new issue