redis集群不断打印日志WSA_IO_PENDING [英] redis cluster continuously print log WSA_IO_PENDING
问题描述
当我启动redis集群的所有redis-server时,所有这些服务器都不断打印WSA_IO_PENDING clusterWriteDone之类的日志
When I start up all the redis-server of the redis cluster, all these servers continuously print logs like WSA_IO_PENDING clusterWriteDone
[9956] 03 Feb 18:17:25.044 # WSA_IO_PENDING writing to socket fd --------------------------------------------------------
[9956] 03 Feb 18:17:25.062 # clusterWriteDone written 2520 fd 15-------------------------------------------------------------
[9956] 03 Feb 18:17:25.545 # WSA_IO_PENDING writing to socket fd --------------------------------------------------------
[9956] 03 Feb 18:17:25.568 # WSA_IO_PENDING writing to socket fd -------------------------------------------------------- –
推荐答案
没有办法在 Redis for Windows 的 3.2.x 端口中专门关闭那些警告",因为日志语句使用最高的LL_WARNING代码>级别.这个问题已经在我那个未维护的 MSOpenTech 的 repo(我更新到 Redis 4.0.2)的分支中报告了,并且已经通过将该级别降低到
LL_DEBUG
来修复.更多详情:https://github.com/tporadowski/redis/issues/14
There is no way to specifically turn those "warnings" off in 3.2.x port of Redis for Windows as the logging statements use highest LL_WARNING
level. This issue has been reported in my fork of that unmaintained MSOpenTech's repo (which I updated to Redis 4.0.2) and has been fixed by decreasing that level to LL_DEBUG
. More details: https://github.com/tporadowski/redis/issues/14
此更改将包含在下一个版本 (4.0.2.3) 中,或者您可以获取最新的源代码并自行构建.
This change will be included in the next release (4.0.2.3) or you can get the latest source code and build it for yourself.
可以在此处找到当前版本:https://github.com/tporadowski/redis/releases
Current releases can be found here: https://github.com/tporadowski/redis/releases
这篇关于redis集群不断打印日志WSA_IO_PENDING的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!