You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2022/09/13 18:12:07 UTC

[plc4x] branch plc4j/opcua-browse updated: chore(plc4x): changed info debug messages to trace.

This is an automated email from the ASF dual-hosted git repository.

hutcheb pushed a commit to branch plc4j/opcua-browse
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/plc4j/opcua-browse by this push:
     new b26735afa chore(plc4x): changed info debug messages to trace.
b26735afa is described below

commit b26735afac1fcdc7f3e409a6f121c5c651234f74
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Tue Sep 13 12:11:58 2022 -0600

    chore(plc4x): changed info debug messages to trace.
---
 .../java/org/apache/plc4x/java/opcua/context/EncryptionHandler.java     | 2 +-
 .../plc4x/java/opcua/context/SecureChannelTransactionManager.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/EncryptionHandler.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/EncryptionHandler.java
index a841d653e..55af946d8 100644
--- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/EncryptionHandler.java
+++ b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/EncryptionHandler.java
@@ -108,7 +108,7 @@ public class EncryptionHandler {
     }
 
     public OpcuaAPU decodeMessage(OpcuaAPU pdu) {
-        LOGGER.info("Decoding Message with Security policy {}", securitypolicy);
+        LOGGER.trace("Decoding Message with Security policy {}", securitypolicy);
         switch (securitypolicy) {
             case "None":
                 return pdu;
diff --git a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java
index 7670a222a..6f0f74116 100644
--- a/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java
+++ b/plc4j/drivers/opcua/src/main/java/org/apache/plc4x/java/opcua/context/SecureChannelTransactionManager.java
@@ -37,7 +37,7 @@ public class SecureChannelTransactionManager {
     private Map<Integer, Transaction> queue = new HashMap<>();
 
     public synchronized void submit(Consumer<Integer> onSend, Integer transactionId) {
-        LOGGER.info("Active transaction Number {}", activeTransactionId.get());
+        LOGGER.trace("Active transaction Number {}", activeTransactionId.get());
         if (activeTransactionId.get() == transactionId) {
             onSend.accept(transactionId);
             int newTransactionId = getActiveTransactionIdentifier();