From 7c3dc31ab4b5ee567da9001228cb03600d093d28 Mon Sep 17 00:00:00 2001 From: "H. William Welliver III" Date: Tue, 24 Jan 2023 23:19:22 -0500 Subject: [PATCH] dial back some log output to debug --- .../openhab/binding/appletv/internal/PyATV.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/openhab/binding/appletv/internal/PyATV.java b/src/main/java/org/openhab/binding/appletv/internal/PyATV.java index 1541f02..eb38eef 100644 --- a/src/main/java/org/openhab/binding/appletv/internal/PyATV.java +++ b/src/main/java/org/openhab/binding/appletv/internal/PyATV.java @@ -375,7 +375,7 @@ public class PyATV { void executeCommand() { while (keepRunning) { - logger.info(name + " polling for command"); + logger.debug(name + " polling for command"); if (process == null || !process.isAlive()) { logger.info("aieee"); if (process == null) @@ -391,7 +391,7 @@ public class PyATV { } } String s = null; - logger.info(name + " polling commandQueue"); + logger.debug(name + " polling commandQueue"); try { s = commandQueue.poll(10, TimeUnit.SECONDS); } catch (InterruptedException e) { @@ -402,9 +402,9 @@ public class PyATV { return; } } - logger.info(name + ": got command value " + s); + logger.debug(name + ": got command value " + s); if (s != null) { - logger.info(name + ": Sending command " + s); + logger.debug(name + ": Sending command " + s); if (process == null) { logger.info(name + ": Process is not running, waiting before sending."); try { @@ -463,11 +463,11 @@ public class PyATV { while (keepRunning && processTemp != null && processTemp.isAlive()) { // we should maybe attempt to read more than one object try { - logger.info(name + " looking for json"); + logger.debug(name + " looking for json"); JsonElement e; if (p.hasNext()) { e = p.next(); - logger.info(name + ": got some json"); + logger.debug(name + ": got some json"); if (e.isJsonObject()) { try { Boolean b = func.apply(e); @@ -488,7 +488,7 @@ public class PyATV { logger.warn(name + " received exception from subprocess.", e); } } - logger.info(name + ": No more JSON"); + logger.debug(name + ": No more JSON"); } catch (Throwable e) { logger.warn(name + ": Error occurred in '{}'", StringUtils.join(commandLine, " "), e); } @@ -503,7 +503,7 @@ public class PyATV { } } - logger.info("process clear: " + process.info()); + logger.debug("process clear: " + process.info()); closeStreams(process); -- 2.45.2