You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/19 15:49:08 UTC

[camel] 02/02: (chores) camel-coap: fixed incorrect logging

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 <an...@gmail.com>
AuthorDate: Mon Jun 19 15:30:20 2023 +0200

    (chores) camel-coap: fixed incorrect logging
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../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;
         }