From cfbb699573e9bdc1c5ce338895e8b309bf0e77f5 Mon Sep 17 00:00:00 2001 From: tbence94 Date: Wed, 11 Jan 2023 16:59:01 +0100 Subject: [PATCH] log vhost when connecting to mq --- src/QueueConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueueConnection.js b/src/QueueConnection.js index f0257b6..d1e8330 100644 --- a/src/QueueConnection.js +++ b/src/QueueConnection.js @@ -49,7 +49,7 @@ class QueueConnection extends EventEmitter { this._connectionPromise = this._connect(this._config.url, options).then((conn) => { const urlObject = new URL(this._activeConnectionUrl) - this._logger.info(`RabbitMQ connection established on '${urlObject.host}' host`) + this._logger.info(`RabbitMQ connection established on '${urlObject.host}' host. vhost: ${urlObject.pathname}`) conn.on('error', (err) => { if (err.message !== 'Connection closing') {