From 9680679dfdeb3b74d521dee62784de4fffab8b40 Mon Sep 17 00:00:00 2001 From: Alexis Date: Wed, 15 Sep 2021 07:57:40 +0930 Subject: [PATCH] fix: supress 'Key found for %s' messages --- app/core/api-manager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/api-manager.ts b/app/core/api-manager.ts index 0f761d198..7de1ef1b3 100644 --- a/app/core/api-manager.ts +++ b/app/core/api-manager.ts @@ -222,7 +222,7 @@ export class ApiManager extends EventEmitter { // it's over the cache time const key = this.keys.get(name); - log.debug('Key found for "%s".', name); + log.trace('Key found for "%s".', name); return key !== null; } catch (error: unknown) { @@ -231,7 +231,7 @@ export class ApiManager extends EventEmitter { } } - log.debug('Key found for "%s".', nameOrKey); + log.trace('Key found for "%s".', nameOrKey); const foundKey = this.keys.get(`${nameOrKey}`)?.key; if (!foundKey) { return false;