Commits

Zhang Huangbin  committed 92ad620

Log smtp session data in debug mode.

  • Participants
  • Parent commits a7a542b

Comments (0)

Files changed (1)

File src/iredapd.py

     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]