From 210a02705303c83ba6f1857c2868e7b65475879f Mon Sep 17 00:00:00 2001 From: robnielsen Date: Sat, 12 Mar 2022 01:53:01 -0600 Subject: [PATCH] [tradfri] reduce logging levels (#12462) Signed-off-by: Rob Nielsen --- .../tradfri/internal/discovery/TradfriDiscoveryParticipant.java | 2 +- .../binding/tradfri/internal/handler/TradfriGatewayHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/discovery/TradfriDiscoveryParticipant.java b/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/discovery/TradfriDiscoveryParticipant.java index bc38ba33b46..d58a85894a6 100644 --- a/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/discovery/TradfriDiscoveryParticipant.java +++ b/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/discovery/TradfriDiscoveryParticipant.java @@ -96,7 +96,7 @@ public class TradfriDiscoveryParticipant implements MDNSDiscoveryParticipant { .withLabel("@text/discovery.gateway.label").withRepresentationProperty(PROPERTY_SERIAL_NUMBER) .build(); } else { - logger.warn("Discovered Tradfri gateway doesn't have an IP address: {}", service); + logger.debug("Discovered Tradfri gateway doesn't have an IP address: {}", service); } } return null; diff --git a/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/handler/TradfriGatewayHandler.java b/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/handler/TradfriGatewayHandler.java index 63d1982a54b..5b923e83a67 100644 --- a/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/handler/TradfriGatewayHandler.java +++ b/bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/handler/TradfriGatewayHandler.java @@ -225,7 +225,7 @@ public class TradfriGatewayHandler extends BaseBridgeHandler implements CoapCall "Pre-shared key was not obtain successfully"); return false; } else { - logger.info("Received pre-shared key for gateway '{}'", configuration.host); + logger.debug("Received pre-shared key for gateway '{}'", configuration.host); logger.debug("Using identity '{}' with pre-shared key '{}'.", identity, preSharedKey); Configuration editedConfig = editConfiguration();