summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-05-15 21:16:59 +0000
committerbwarsaw2001-05-15 21:16:59 +0000
commit5116e6ee2dc2c7c2f9a718a5794f7915092d6fa5 (patch)
tree51b9f7ab2b984122b92f7d8a9b3a2680680f5daa
parent8d8534d62c99a17e1e79dd9f3048fb0c5e05f36f (diff)
downloadmailman-5116e6ee2dc2c7c2f9a718a5794f7915092d6fa5.tar.gz
mailman-5116e6ee2dc2c7c2f9a718a5794f7915092d6fa5.tar.zst
mailman-5116e6ee2dc2c7c2f9a718a5794f7915092d6fa5.zip
syslog() entries should go to logs/error not logs/qrunner. It's
highly annoying to have to tail more than one log file to find bugs.
-rw-r--r--Mailman/Queue/Runner.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/Queue/Runner.py b/Mailman/Queue/Runner.py
index 07f127b02..0dbbe4780 100644
--- a/Mailman/Queue/Runner.py
+++ b/Mailman/Queue/Runner.py
@@ -116,13 +116,13 @@ class Runner:
# Find out which mailing list this message is destined for.
listname = msgdata.get('listname')
if not listname:
- syslog('qrunner', 'qfile metadata specifies no list: %s' %
+ syslog('error', 'qfile metadata specifies no list: %s' %
filebase)
self._shunt.enqueue(msg, metadata)
return
mlist = self._open_list(listname)
if not mlist:
- syslog('qrunner',
+ syslog('error',
'Dequeuing message destined for missing list: %s' %
filebase)
self._shunt.enqueue(msg, metadata)
@@ -170,15 +170,15 @@ class Runner:
if self._cachelists:
self._listcache[listname] = mlist
except Errors.MMListError, e:
- syslog('qrunner', 'error opening list: %s\n%s' % (listname, e))
+ syslog('error', 'error opening list: %s\n%s' % (listname, e))
return None
return mlist
def _log(self, exc):
- syslog('qrunner', 'Uncaught runner exception: %s' % exc)
+ syslog('error', 'Uncaught runner exception: %s' % exc)
s = StringIO()
traceback.print_exc(file=s)
- syslog('qrunner', s.getvalue())
+ syslog('error', s.getvalue())
#
# Subclasses can override _cleanup(), _dispose(), and _doperiodic()