springboot项目一直在打印Redis链接信息Reconnecting, last destination was
控制台打印如下:
15:03:26.279 [lettuce-eventExecutorLoop-1-4] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:03:26.282 [lettuce-nioEventLoop-4-2] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
15:03:57.079 [lettuce-eventExecutorLoop-1-5] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:03:57.082 [lettuce-nioEventLoop-4-3] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
15:04:28.179 [lettuce-eventExecutorLoop-1-6] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:04:28.182 [lettuce-nioEventLoop-4-4] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
15:04:59.079 [lettuce-eventExecutorLoop-1-7] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:04:59.082 [lettuce-nioEventLoop-4-5] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
15:05:30.180 [lettuce-eventExecutorLoop-1-8] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:05:30.182 [lettuce-nioEventLoop-4-6] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
15:06:01.179 [lettuce-eventExecutorLoop-1-1] INFO i.l.c.p.ConnectionWatchdog - [log,171] - Reconnecting, last destination was /192.168.0.6:6379
15:06:01.182 [lettuce-nioEventLoop-4-7] INFO i.l.c.p.ReconnectionHandler - [lambda$null$3,174] - Reconnected to 192.168.0.6:6379
application配置文件中增加配置:
# 日志配置
logging:
level:
org.springframework: warn
io.lettuce.core.protocol: error
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步