[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-cvs
Subject:    [Mailman-checkins] SF.net SVN: mailman: [7948]
From:       msapiro () users ! sourceforge ! net
Date:       2006-07-22 1:46:05
Message-ID: E1G46ZB-0005a8-IC () sc8-pr-svn1 ! sourceforge ! net
[Download RAW message or body]

Revision: 7948
Author:   msapiro
Date:     2006-07-21 18:46:02 -0700 (Fri, 21 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/mailman/?rev=7948&view=rev

Log Message:
-----------
- Switchboard.py  Added missing call to create error logger.

Modified Paths:
--------------
    trunk/mailman/Mailman/Queue/Switchboard.py
Modified: trunk/mailman/Mailman/Queue/Switchboard.py
===================================================================
--- trunk/mailman/Mailman/Queue/Switchboard.py	2006-07-21 05:46:44 UTC (rev 7947)
+++ trunk/mailman/Mailman/Queue/Switchboard.py	2006-07-22 01:46:02 UTC (rev 7948)
@@ -57,7 +57,9 @@
 # prevents skipping one of two entries with the same time until the next pass.
 DELTA = .0001
 
+elog = logging.getLogger('mailman.error')
 
+
 
 class Switchboard:
     def __init__(self, whichq, slice=None, numslices=1, recover=False):
@@ -162,7 +164,7 @@
         try:
             os.unlink(bakfile)
         except EnvironmentError, e:
-            log.exception('Failed to unlink backup file: %s', bakfile)
+            elog.exception('Failed to unlink backup file: %s', bakfile)
 
     def files(self, extension='.pck'):
         times = {}


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/mailman-cvs%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic