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 4175a140a2f651fd1ab29a8aa48715383fa871ff
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Jun 20 11:35:33 2022 +0200

    (chores) camel-debug: use format specifiers in log messages
---
 .../java/org/apache/camel/component/debug/JmxConnectorService.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/components/camel-debug/src/main/java/org/apache/camel/component/debug/JmxConnectorService.java
 
b/components/camel-debug/src/main/java/org/apache/camel/component/debug/JmxConnectorService.java
index dd0c61214f8..2d2cb7a9b6e 100644
--- 
a/components/camel-debug/src/main/java/org/apache/camel/component/debug/JmxConnectorService.java
+++ 
b/components/camel-debug/src/main/java/org/apache/camel/component/debug/JmxConnectorService.java
@@ -89,8 +89,7 @@ public class JmxConnectorService extends ServiceSupport 
implements CamelContextA
                 cs.stop();
                 LOG.debug("Stopped JMX Connector");
             } catch (IOException e) {
-                LOG.debug("Error occurred during stopping JMXConnectorService: 
"
-                          + cs + ". This exception will be ignored.");
+                LOG.debug("Error occurred during stopping JMXConnectorService: 
{}. This exception will be ignored.", cs);
             }
             cs = null;
         }

Reply via email to