diff options
| author | bwarsaw | 2000-06-02 22:29:41 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-02 22:29:41 +0000 |
| commit | 682e2ef252d38d43a560ce8923b72d1c48503ad2 (patch) | |
| tree | e239d899acd6bec9e45e1882e68b0a2fe1d441c2 | |
| parent | 40fa6b9a970260c774f9d2e7d96c7087a864b57c (diff) | |
| download | mailman-682e2ef252d38d43a560ce8923b72d1c48503ad2.tar.gz mailman-682e2ef252d38d43a560ce8923b72d1c48503ad2.tar.zst mailman-682e2ef252d38d43a560ce8923b72d1c48503ad2.zip | |
| -rw-r--r-- | Mailman/Handlers/HandlerAPI.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Handlers/HandlerAPI.py b/Mailman/Handlers/HandlerAPI.py index 9b8002b62..e811f2f8f 100644 --- a/Mailman/Handlers/HandlerAPI.py +++ b/Mailman/Handlers/HandlerAPI.py @@ -21,6 +21,7 @@ import time from Mailman import mm_cfg from Mailman import Errors +from Mailman.Logging.Syslog import syslog from Mailman.pythonlib.StringIO import StringIO @@ -122,10 +123,10 @@ def DeliverToList(mlist, msg, msgdata): # the pipeline list so that it can resume where it left off when # qrunner tries to redeliver it. pipeline.insert(0, modname) - mlist.LogMsg('error', 'Delivery exception: %s' % e) + syslog('error', 'Delivery exception: %s' % e) s = StringIO() traceback.print_exc(file=s) - mlist.LogMsg('error', s.getvalue()) + syslog('error', s.getvalue()) break msgdata['pipeline'] = pipeline if pipeline: |
