springboot專案一直在列印Redis連結資訊Reconnecting, last destination was

yshy發表於2024-07-10

控制檯列印如下:

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

相關文章