Skip to content

Commit

Permalink
Write connection hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
mertuszakos committed Dec 6, 2022
1 parent 1e37290 commit 71e20ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueueConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class QueueConnection {
}

this._connectionPromise = this._connect(this._config.url, options).then((conn) => {
this._logger.info('RabbitMQ connection established')
this._logger.info(`RabbitMQ connection established on '${this._config.url.hostname}' host`)

conn.on('error', (err) => {
if (err.message !== 'Connection closing') {
Expand Down

0 comments on commit 71e20ee

Please sign in to comment.