I'm trying to figure out how to solve a specific problem with RabbitMQ 3.6.6. In order to gather some more information, I wanted to switch logs to debug level. However, it doesn't seem to work.
Here's the relevant part of /etc/rabbitmq/rabbitmq.config, inspired by the official documentation:
[
{rabbit,
[
{log_levels, [{connection, debug}, {queue, debug}]},
{log,
[{file, [{level, debug}]},
{categories,
[{connection,
[{level, debug}]
},
{queue,
[{level, debug}]
}
]
}]
},
]
}
]
However, what I see in the actual logs (after restarting the server) looks nothing like verbose logs. Not only all messages I see are marked only INFO REPORT or ERROR REPORT, but also when I create a queue, I see only two messages:
accepting AMQP connection [...]
Mirrored queue [...] in vhost [...]: Adding mirror on node [...]
which doesn't look particularly verbose.
So, how do I set log level to debug in RabbitMQ?