rabbitmq 如何设置log级别
我在rabbitmq.config中设置
[
{rabbit, [{log_levels,[{connection, error}]}]}
].
但是没有效果,哪位高手能告诉我为什么呢?
下面是对问题的详细描述,我用的版本是2.8.2
Hi,
We are using rabbitmq 2.8.2 server and java client jars. We ran into an
issue where one of our client applications got into a connect/disconnect
loop and filled the rabbitmq server logs with Connect/disconnect messages
sort of like this.
=INFO REPORT==== 30-May-2012::00:00:03 ===
closing TCP connection <0.1769.9> from 172.27.9.135:42440
=INFO REPORT==== 30-May-2012::00:00:03 ===
accepted TCP connection on [::]:5672 from 172.27.9.135:42441
=INFO REPORT==== 30-May-2012::00:00:03 ===
starting TCP connection <0.1785.9> from 172.27.9.135:42441
We are still troubleshooting the root cause for the connect/disconnect
loop. In parallel we want to prevent info messages from flooding Rabbitmq
logs.
I tried setting the log level to the error in rabbitmq.config file as show
below, but the change is not taking effect.
[
{rabbit, [{log_levels,[{connection, error}]}]}
].
Could you please let me know if there is any missing step?