]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix logging statements (#16989)
authorlogresearch <log.researchovo@gmail.com>
Mon, 8 Jul 2024 16:15:10 +0000 (00:15 +0800)
committerGitHub <noreply@github.com>
Mon, 8 Jul 2024 16:15:10 +0000 (18:15 +0200)
* Fix logging statement

Signed-off-by: logresearch <log.researchovo@gmail.com>
bundles/org.openhab.binding.digiplex/src/main/java/org/openhab/binding/digiplex/internal/handler/DigiplexBridgeHandler.java
bundles/org.openhab.binding.pentair/src/main/java/org/openhab/binding/pentair/internal/handler/PentairIntelliFloHandler.java
bundles/org.openhab.binding.sonyaudio/src/main/java/org/openhab/binding/sonyaudio/internal/protocol/SonyAudioClientSocket.java
bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/protocol/aes/SecurePasstroughCipher.java

index 39503d4edf06f348a15a95b10bf422c1a5200b6c..f805eba944d1f7eddca696be9ca441015023504b 100644 (file)
@@ -309,7 +309,7 @@ public class DigiplexBridgeHandler extends BaseBridgeHandler implements SerialPo
 
         @Override
         public void run() {
-            logger.debug("Receiver thread started");
+            logger.debug("Starting receiver thread");
             while (!interrupted()) {
                 try {
                     Optional<String> message = readLineBlocking();
@@ -360,7 +360,7 @@ public class DigiplexBridgeHandler extends BaseBridgeHandler implements SerialPo
 
         @Override
         public void run() {
-            logger.debug("Sender thread started");
+            logger.debug("Starting sender thread");
             while (!interrupted()) {
                 try {
                     DigiplexRequest request = sendQueue.take();
index 91821f9e581d130b72321a77fab7aec299ef1ff6..e67aa19c029d89aab5d45a4cad8083edc1e91cef 100644 (file)
@@ -62,7 +62,7 @@ public class PentairIntelliFloHandler extends PentairBaseThingHandler {
     @Override
     public void handleCommand(ChannelUID channelUID, Command command) {
         if (command instanceof RefreshType) {
-            logger.debug("Intellflo received refresh command");
+            logger.debug("IntelliFlo received refresh command");
             updateChannel(channelUID.getId(), null);
         }
     }
index 96d671dbe8526a72bbe1067d2a42104eda30989a..76aa84b1a9133e04ef9a7c1e9b60b4227a0ebafb 100644 (file)
@@ -200,7 +200,7 @@ public class SonyAudioClientSocket {
 
     private void sendMessage(String str) throws IOException {
         if (isConnected()) {
-            logger.debug("send message fo {}: {}", uri.toString(), str);
+            logger.debug("send message for {}: {}", uri.toString(), str);
             session.getRemote().sendString(str);
         } else {
             String stack = "";
index 0e6f54fdc283914a6426c2fa556e732e3bede97a..35ccd84261bfcd7a8823075b1e5e3c5a84fc1040 100644 (file)
@@ -110,7 +110,7 @@ public class SecurePasstroughCipher {
             encodeCipher.init(1, secretKeySpec, ivParameterSpec);
             decodeCipher.init(2, secretKeySpec, ivParameterSpec);
         } catch (Exception e) {
-            logger.warn("initChiper failed: {}", e.getMessage());
+            logger.warn("initCipher failed: {}", e.getMessage());
             encodeCipher = null;
             decodeCipher = null;
         }