------------------------------------------------------------
revno: 6607
committer: Barry Warsaw <[EMAIL PROTECTED]>
branch nick: small-fixes
timestamp: Sat 2008-03-15 10:16:22 -0500
message:
  Add some debug logging.
modified:
  mailman/queue/lmtp.py

=== modified file 'mailman/queue/lmtp.py'
--- a/mailman/queue/lmtp.py     2008-03-13 13:00:20 +0000
+++ b/mailman/queue/lmtp.py     2008-03-15 15:16:22 +0000
@@ -124,10 +124,13 @@
         localaddr = config.LMTP_HOST, config.LMTP_PORT
         # Do not call Runner's constructor because there's no QDIR to create
         smtpd.SMTPServer.__init__(self, localaddr, remoteaddr=None)
+        qlog.debug('LMTP server listening on %s:%s',
+                   config.LMTP_HOST, config.LMTP_PORT)
 
     def handle_accept(self):
         conn, addr = self.accept()
         channel = Channel(self, conn, addr)
+        qlog.debug('LMTP accept from %s', addr)
 
     @txn
     def process_message(self, peer, mailfrom, rcpttos, data):



--
Primary development focus
https://code.launchpad.net/~mailman-coders/mailman/3.0

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to