From 5769eca8eeaa45512936abee04dfdc3459e56d32 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Thu, 15 Sep 2022 19:23:07 +0300 Subject: [PATCH] redisable the oauth logger --- src/modules/oauth2/oauth2.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/oauth2/oauth2.service.ts b/src/modules/oauth2/oauth2.service.ts index cee2c84..d7e89bc 100644 --- a/src/modules/oauth2/oauth2.service.ts +++ b/src/modules/oauth2/oauth2.service.ts @@ -69,9 +69,9 @@ export class OAuth2Service { public clientService: OAuth2ClientService, public tokenService: OAuth2TokenService, ) { - if (process.env.NODE_ENV === 'development') { - this.oauth.logger.setLogLevel('debug'); - } + // if (process.env.NODE_ENV === 'development') { + // this.oauth.logger.setLogLevel('debug'); + // } } public splitScope(scope: string | string[]): string[] {