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
posted @ 2024-07-10 15:09  yshy  阅读(4)  评论(0编辑  收藏  举报