mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 07:53:09 +02:00
tweak log
This commit is contained in:
parent
0d05f05610
commit
81ee9025fb
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class MyCustomLogger implements Logger {
|
||||||
|
|
||||||
public logQuery(query: string, parameters?: any[]) {
|
public logQuery(query: string, parameters?: any[]) {
|
||||||
if (envOption.verbose) {
|
if (envOption.verbose) {
|
||||||
sqlLogger.info(this.highlight(query));
|
sqlLogger.info(this.highlight(query).substring(0, 100));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue