rabbitmq 如何设置log级别

yutian209 2012-06-19 05:11:30
我在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?
...全文
368 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

5,655

社区成员

发帖
与我相关
我的任务
社区描述
Web开发应用服务器相关讨论专区
社区管理员
  • 应用服务器社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧