From 2451dac5939c4bc01d9d15adb57235a7668b0144 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 20 Feb 2012 08:19:03 +0100 Subject: [PATCH] IMAP command logging improvement * nnimap.el (nnimap-log-command): Add the IMAP address to the log buffer. Suggested by Herbert Valerio Riedel. --- lisp/ChangeLog | 5 +++++ lisp/nnimap.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6d59d5d76..d631b8b07 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-02-20 Lars Ingebrigtsen + + * nnimap.el (nnimap-log-command): Add the IMAP address to the log + buffer. Suggested by Herbert Valerio Riedel. + 2012-02-19 Vida Gábor (tiny change) * gnus-demon.el (gnus-demon-init): Don't multiply time twice. diff --git a/lisp/nnimap.el b/lisp/nnimap.el index c6f0f7a97..b02edf59b 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1706,7 +1706,8 @@ textual parts.") (when nnimap-record-commands (with-current-buffer (get-buffer-create "*imap log*") (goto-char (point-max)) - (insert (format-time-string "%H:%M:%S") " " + (insert (format-time-string "%H:%M:%S") + " [" nnimap-address "] " (if nnimap-inhibit-logging "(inhibited)\n" command)))) -- 2.25.1