Commits

Zhang Huangbin committed 92ad620

Log smtp session data in debug mode.

Comments (0)

Files changed (1)

     def found_terminator(self):
         if len(self.buffer) is not 0:
             line = self.buffer.pop()
-            #logging.debug("smtp session: " + line)
+            logging.debug("smtp session: " + line)
             if line.find('=') != -1:
                 key = line.split('=')[0]
                 value = line.split('=', 1)[1]