diff options
| author | bwarsaw | 1998-07-06 15:45:19 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-07-06 15:45:19 +0000 |
| commit | 288f6ccf6eee9208eeb02e4dd4745a8c47e97606 (patch) | |
| tree | 9c3ee596aaf7a6788c4c3c26f119129b9007c2a2 /scripts | |
| parent | ea41e10356631b41969fe1c307fe2c303188f1ef (diff) | |
| download | mailman-288f6ccf6eee9208eeb02e4dd4745a8c47e97606.tar.gz mailman-288f6ccf6eee9208eeb02e4dd4745a8c47e97606.tar.zst mailman-288f6ccf6eee9208eeb02e4dd4745a8c47e97606.zip | |
StampedLogger now comes out of the Mailman.Logging.StampedLogger
module (we should really create a mail driver similar to the CGI
driver).
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/mailcmd | 5 | ||||
| -rwxr-xr-x | scripts/mailowner | 6 | ||||
| -rwxr-xr-x | scripts/owner | 6 | ||||
| -rwxr-xr-x | scripts/post | 6 | ||||
| -rwxr-xr-x | scripts/request | 5 |
5 files changed, 15 insertions, 13 deletions
diff --git a/scripts/mailcmd b/scripts/mailcmd index 4e9c6139f..0c907b6ec 100755 --- a/scripts/mailcmd +++ b/scripts/mailcmd @@ -29,10 +29,11 @@ import sys import paths from Mailman import MailList from Mailman import Utils +from Mailman.Logging.StampedLogger import StampedLogger try: - sys.stderr = Utils.StampedLogger("error", label = 'mailcmd', - manual_reprime=1) + sys.stderr = StampedLogger("error", label = 'mailcmd', + manual_reprime=1) except IOError: pass # Oh well - SOL on redirect, errors show thru. diff --git a/scripts/mailowner b/scripts/mailowner index ab6c760d1..d77084b63 100755 --- a/scripts/mailowner +++ b/scripts/mailowner @@ -29,11 +29,11 @@ import sys import paths from Mailman import MailList from Mailman import Message -from Mailman import Utils +from Mailman.Logging.StampedLogger import StampedLogger try: - sys.stderr = Utils.StampedLogger("error", label = 'post', - manual_reprime=1, nofail=0) + sys.stderr = StampedLogger("error", label = 'post', + manual_reprime=1, nofail=0) except IOError: pass # Oh well - SOL on redirect, errors show thru. diff --git a/scripts/owner b/scripts/owner index ab6c760d1..d77084b63 100755 --- a/scripts/owner +++ b/scripts/owner @@ -29,11 +29,11 @@ import sys import paths from Mailman import MailList from Mailman import Message -from Mailman import Utils +from Mailman.Logging.StampedLogger import StampedLogger try: - sys.stderr = Utils.StampedLogger("error", label = 'post', - manual_reprime=1, nofail=0) + sys.stderr = StampedLogger("error", label = 'post', + manual_reprime=1, nofail=0) except IOError: pass # Oh well - SOL on redirect, errors show thru. diff --git a/scripts/post b/scripts/post index 2566ba790..11f208b14 100755 --- a/scripts/post +++ b/scripts/post @@ -34,12 +34,12 @@ import paths from Mailman import MailList from Mailman import Message from Mailman import Errors -from Mailman import Utils +from Mailman.Logging.StampedLogger import StampedLogger try: - sys.stderr = Utils.StampedLogger("error", label = 'post', - manual_reprime=1, nofail=0) + sys.stderr = StampedLogger("error", label = 'post', + manual_reprime=1, nofail=0) except IOError: pass # Oh well - SOL on redirect, errors show thru. diff --git a/scripts/request b/scripts/request index 4e9c6139f..0c907b6ec 100755 --- a/scripts/request +++ b/scripts/request @@ -29,10 +29,11 @@ import sys import paths from Mailman import MailList from Mailman import Utils +from Mailman.Logging.StampedLogger import StampedLogger try: - sys.stderr = Utils.StampedLogger("error", label = 'mailcmd', - manual_reprime=1) + sys.stderr = StampedLogger("error", label = 'mailcmd', + manual_reprime=1) except IOError: pass # Oh well - SOL on redirect, errors show thru. |
