From 7f68decd4846e7263962b8354375f4243c425f1a Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 7 Mar 2022 09:30:29 +0100 Subject: [PATCH] log info -> debug --- src/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index d937634..8ac0fce 100644 --- a/src/client.ts +++ b/src/client.ts @@ -240,7 +240,7 @@ export class ClientImpl extends EventEmitter implements IClient { return new Promise((resolve, reject) => { if (this.subscriptions[uri]) { - log.info(`[blf] Already subscribed to ${uri}`, this.constructor.name); + log.debug(`[blf] Already subscribed to ${uri}`, this.constructor.name); resolve(); return; } @@ -262,12 +262,12 @@ export class ClientImpl extends EventEmitter implements IClient { this.subscriptions[uri].stateChange.on((newState: SubscriptionState) => { switch (newState) { case SubscriptionState.Subscribed: - log.info(`[blf] Already subscribed to ${uri}`, this.constructor.name); + log.debug(`[blf] Already subscribed to ${uri}`, this.constructor.name); resolve(); break; case SubscriptionState.Terminated: delete this.subscriptions[uri]; - log.info(`[blf] subscription terminated for ${uri}`, this.constructor.name); + log.debug(`[blf] subscription terminated for ${uri}`, this.constructor.name); this.emit('subscriptionTerminated', uri); break; }