You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rc...@apache.org on 2020/06/08 03:12:23 UTC

[james-project] 02/16: JAMES-3196 IMAP Debug logs should allow reviewing issued commands

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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 5dc7c565e17b7e0b7cb81a5af6a243968b2c48f5
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu May 28 11:32:42 2020 +0700

    JAMES-3196 IMAP Debug logs should allow reviewing issued commands
---
 .../org/apache/james/imap/processor/base/AbstractChainedProcessor.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/protocols/imap/src/main/java/org/apache/james/imap/processor/base/AbstractChainedProcessor.java b/protocols/imap/src/main/java/org/apache/james/imap/processor/base/AbstractChainedProcessor.java
index 823f4ed..9eaf492 100644
--- a/protocols/imap/src/main/java/org/apache/james/imap/processor/base/AbstractChainedProcessor.java
+++ b/protocols/imap/src/main/java/org/apache/james/imap/processor/base/AbstractChainedProcessor.java
@@ -54,6 +54,7 @@ public abstract class AbstractChainedProcessor<M extends ImapMessage> implements
             M acceptableMessage = (M) message;
             try (Closeable closeable = addContextToMDC(acceptableMessage)) {
                 try {
+                    LOGGER.debug("Processing {}", message.toString());
                     doProcess(acceptableMessage, responder, session);
                 } catch (RuntimeException e) {
                     LOGGER.error("Error while processing IMAP request", e);


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org