diff options
Diffstat (limited to 'src/lib/extensions/BushClient.ts')
-rw-r--r-- | src/lib/extensions/BushClient.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/BushClient.ts b/src/lib/extensions/BushClient.ts index d0758d4..b12fd52 100644 --- a/src/lib/extensions/BushClient.ts +++ b/src/lib/extensions/BushClient.ts @@ -110,7 +110,7 @@ export class BushClient extends AkairoClient { dialect: 'postgres', host: this.config.db.host, port: this.config.db.port, - logging: (a, b) => this.logger.debug(a) + logging: this.config.logging ? (a) => this.logger.debug(a) : false }); this.logger = new BushLogger(this); } |