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 2022/06/20 12:22:28 UTC

[camel] 06/08: (chores) camel-test-spring-junit5: use format specifiers in log messages

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 72ed28034759c9d6061ac904cbd6365249fae9b3
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jun 20 11:41:28 2022 +0200

    (chores) camel-test-spring-junit5: use format specifiers in log messages
---
 .../java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-test/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java b/components/camel-test/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java
index 3bf5597dda7..76217c57bfd 100644
--- a/components/camel-test/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java
+++ b/components/camel-test/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageDumper.java
@@ -62,7 +62,7 @@ public final class RouteCoverageDumper {
                 // ensure dir exists
                 boolean result = file.mkdirs();
                 if (!result) {
-                    LOG.error("mkdirs() failed for " + file);
+                    LOG.error("mkdirs() failed for {}", file);
                 }
                 file = new File(dir, name);