dump IMAP conversations
authoradam <adam@megacz.com>
Fri, 7 Jan 2005 18:22:41 +0000 (18:22 +0000)
committeradam <adam@megacz.com>
Fri, 7 Jan 2005 18:22:41 +0000 (18:22 +0000)
darcs-hash:20050107182241-5007d-e20263645f094417dfd9f476ee170269cf7323a2.gz

src/org/ibex/mail/protocol/IMAP.java

index 493d40a..a09f4b9 100644 (file)
@@ -361,6 +361,7 @@ public class IMAP {
                 }
                 println(tag+" OK "+command+" Completed. " +
                         (commandKey == LOGIN ? ("[CAPABILITY "+Printer.join(" ", api.capability())+"]") : ""));
+                Log.error("[imap]", conn.dumpLog());
             } catch (Server.Bad b) { println(tag==null ? "* BAD Invalid tag":(tag + " Bad " + b.toString()));
             } catch (Server.No n)  { println(tag==null?"* BAD Invalid tag":(tag+" No "  + n.toString())); }
         }