This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch CAMEL-27308-kafka-manualcommit-logger
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 221842a86b0be00d55eb9c4f0bb1d7eb919ca657
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 20 19:22:27 2026 +0100

    CAMEL-27308: camel-kafka - ManualCommit logs under its own logger
    
    ManualCommit declared its logger with BatchManualCommit.class, so its debug
    lines appeared under the BatchManualCommit category and a logging
    configuration for ManualCommit did not reach them.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../src/main/java/org/apache/camel/component/kafka/ManualCommit.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/ManualCommit.java
 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/ManualCommit.java
index 8fa06ab73aa3..4f054612aa42 100644
--- 
a/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/ManualCommit.java
+++ 
b/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/ManualCommit.java
@@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory;
 
 public class ManualCommit implements Processor {
 
-    private static final Logger LOG = 
LoggerFactory.getLogger(BatchManualCommit.class);
+    private static final Logger LOG = 
LoggerFactory.getLogger(ManualCommit.class);
 
     @Override
     public void process(Exchange exchange) throws Exception {

Reply via email to