IMAP command logging improvement
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 20 Feb 2012 07:19:03 +0000 (08:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 20 Feb 2012 07:20:00 +0000 (08:20 +0100)
* nnimap.el (nnimap-log-command): Add the IMAP address to the log
buffer.  Suggested by Herbert Valerio Riedel.

lisp/ChangeLog
lisp/nnimap.el

index 6d59d5d..d631b8b 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-log-command): Add the IMAP address to the log
+       buffer.  Suggested by Herbert Valerio Riedel.
+
 2012-02-19  Vida Gábor  <vidagabor@gmail.com>  (tiny change)
 
        * gnus-demon.el (gnus-demon-init): Don't multiply time twice.
index c6f0f7a..b02edf5 100644 (file)
@@ -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))))