Initial Issue/Problem
The log exchange was not visible and as such the following entry was made in rabbitmq.conf file
log.exchange = true
But again the change was not getting reflected, since rabbitmq.config was also present in the enviornment.
Solution : Remove the rabbitmq.config from the enviornment , and now the log exchange was visible
But this led to a second issue
Second Issue/Problem
Logging not getting printed properly
Approaches tried
1. Remove the log.exchange = true entry made in rabbitmq.conf. This did not work , logging still not getting printed properly
2. Place back the rabbitmq.config back in the the environment . This worked and now logging getting printed properly.
So yes we know
1. log exchange would be visible by this entry log.exchange = true in rabbitmq.conf. But logging should also work which is not true in this case.
2. log exchange would not be visible with rabbitmq.config back in the enviornment , But logging works properly in this case
Ideal solution -
- exchange should be visible
- logging should also work properly
- rabbitmq.config should not be present in the environment
Please suggest necessary changes in rabbitmq.conf and advanced.config files around this.
Note : I had removed the exchange entry from rabbitmq.conf only to check if logging is working properly without it like previously .