summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsapiro2006-07-22 01:46:02 +0000
committermsapiro2006-07-22 01:46:02 +0000
commit91321c5a8ec5f59c03895637aaa04d4cd8629a86 (patch)
tree5c740e84823323256a7461094d25fd848e89c0cc
parent7396a6d1a644ddd9c274684e7eae4923c0c96321 (diff)
downloadmailman-91321c5a8ec5f59c03895637aaa04d4cd8629a86.tar.gz
mailman-91321c5a8ec5f59c03895637aaa04d4cd8629a86.tar.zst
mailman-91321c5a8ec5f59c03895637aaa04d4cd8629a86.zip
-rw-r--r--Mailman/Queue/Switchboard.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Queue/Switchboard.py b/Mailman/Queue/Switchboard.py
index 028eeb6ee..bc16bbd2d 100644
--- a/Mailman/Queue/Switchboard.py
+++ b/Mailman/Queue/Switchboard.py
@@ -57,6 +57,8 @@ SAVE_MSGS_AS_PICKLES = True
# prevents skipping one of two entries with the same time until the next pass.
DELTA = .0001
+elog = logging.getLogger('mailman.error')
+
class Switchboard:
@@ -162,7 +164,7 @@ class Switchboard:
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 = {}