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 2024/05/25 12:12:49 UTC

(camel) 04/25: (chores) camel-itest: use log markers

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 68d51435a0243aba3d1876d350a3bd8460575a9d
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Fri May 24 19:38:56 2024 +0200

    (chores) camel-itest: use log markers
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 .../src/test/java/org/apache/camel/itest/greeter/PrepareRequest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/PrepareRequest.java b/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/PrepareRequest.java
index 980e00de9f5..d4fa5305279 100644
--- a/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/PrepareRequest.java
+++ b/tests/camel-itest/src/test/java/org/apache/camel/itest/greeter/PrepareRequest.java
@@ -34,7 +34,7 @@ public class PrepareRequest implements Processor {
         params.add(exchange.getIn().getBody(String.class));
         exchange.getMessage().setBody(params);
         String operation = (String) exchange.getIn().getHeader(CxfConstants.OPERATION_NAME);
-        LOG.info("The operation name is " + operation);
+        LOG.info("The operation name is {}", operation);
         exchange.getMessage().setHeader(CxfConstants.OPERATION_NAME, operation);
     }