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


The following commit(s) were added to refs/heads/main by this push:
     new ff037009404 (chores) camel-base-engine: fixed a log message not using 
log markers
ff037009404 is described below

commit ff0370094049ebe2e63b24bd186810381bb02570
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Tue Aug 15 16:33:55 2023 +0200

    (chores) camel-base-engine: fixed a log message not using log markers
---
 .../org/apache/camel/impl/engine/BaseExecutorServiceManager.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/BaseExecutorServiceManager.java
 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/BaseExecutorServiceManager.java
index ce257862a9a..ed0a926e0a9 100644
--- 
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/BaseExecutorServiceManager.java
+++ 
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/BaseExecutorServiceManager.java
@@ -476,9 +476,8 @@ public class BaseExecutorServiceManager extends 
ServiceSupport implements Execut
                     }
                 } catch (Throwable e) {
                     // only log if something goes wrong as we want to shutdown 
them all
-                    LOG.warn("Error occurred during shutdown of 
ExecutorService: "
-                             + executorService + ". This exception will be 
ignored.",
-                            e);
+                    LOG.warn("Error occurred during shutdown of 
ExecutorService: {}. This exception will be ignored.", 
+                          executorService, e);
                 }
             }
         }

Reply via email to