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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 826a28c3432d9ae571dde8d0183dd90297494d19
Author: Otavio R. Piske <[email protected]>
AuthorDate: Mon Jun 19 15:30:20 2023 +0200

    (chores) camel-coap: fixed incorrect logging
    
    Signed-off-by: Otavio R. Piske <[email protected]>
---
 .../camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java 
b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
index e54b0d841b2..92f83facbd8 100644
--- 
a/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
+++ 
b/components/camel-coap/src/main/java/org/apache/camel/coap/CoAPNotifier.java
@@ -49,7 +49,7 @@ public class CoAPNotifier extends DefaultProducer {
             throw new IllegalStateException("Resource not found: " + 
endpoint.getUri());
         }
         if (!resource.isObservable()) {
-            LOG.warn("Ignoring notification attempt for resource that is not 
observable: " + endpoint.getUri());
+            LOG.warn("Ignoring notification attempt for resource that is not 
observable: {}", endpoint.getUri());
             return;
         }
 

Reply via email to