bloomberg / amqpprox

An AMQP 0.9.1 proxy server, designed for use in front of an AMQP 0.9.1 compliant message queue broker such as RabbitMQ.
Apache License 2.0
78 stars 16 forks source link

Start logging correct tune method received from server #71

Closed Chinmay1412 closed 2 years ago

Chinmay1412 commented 2 years ago

When amqpprox sends the start-ok method, server returns the tune method. But at that point, we are logging start-ok method, instead of logging correct received tune method. This PR fixes that issue. And also explicitly adds the Server string to represent method received from server, as we are doing for other methods. This log trace is useful, while analysing amqpprox logs.