From 76ce84716bf03ec90d795d38f34c7ff4725df706 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 12 Sep 2020 21:26:00 -0400 Subject: [PATCH] lower log levels for common flex router errors --- .../java/bubble/service/device/StandardFlexRouterService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bubble-server/src/main/java/bubble/service/device/StandardFlexRouterService.java b/bubble-server/src/main/java/bubble/service/device/StandardFlexRouterService.java index f7754295..b59c7dca 100644 --- a/bubble-server/src/main/java/bubble/service/device/StandardFlexRouterService.java +++ b/bubble-server/src/main/java/bubble/service/device/StandardFlexRouterService.java @@ -207,7 +207,7 @@ public class StandardFlexRouterService extends SimpleDaemon implements FlexRoute } else { router = existing; } - if (log.isWarnEnabled()) log.warn(prefix+"attempting to ping again (try="+(i+1)+"/"+MAX_PING_TRIES+")"); + if (log.isInfoEnabled()) log.info(prefix+"attempting to ping again (try="+(i+1)+"/"+MAX_PING_TRIES+")"); } try { request.setEntity(json(router.pingObject())); @@ -227,7 +227,7 @@ public class StandardFlexRouterService extends SimpleDaemon implements FlexRoute } } catch (Exception e) { - log.warn(prefix+"error: "+shortError(e)); + log.info(prefix+"error: "+shortError(e)); } setStatus(router, FlexRouterStatus.unreachable); }