From b99b194f4bc52a1aa09af8e5dc6321a019a96475 Mon Sep 17 00:00:00 2001 From: klm Date: Thu, 23 Jul 1998 04:53:57 +0000 Subject: Use simplified LogStdErr() call to enable error logging from this module all the time. --- scripts/request | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'scripts/request') diff --git a/scripts/request b/scripts/request index 0c907b6ec..b745d52f5 100755 --- a/scripts/request +++ b/scripts/request @@ -31,12 +31,8 @@ from Mailman import MailList from Mailman import Utils from Mailman.Logging.StampedLogger import StampedLogger -try: - sys.stderr = StampedLogger("error", label = 'mailcmd', - manual_reprime=1) -except IOError: - pass # Oh well - SOL on redirect, errors show thru. - +from Mailman.Logging.Utils import LogStdErr +LogStdErr("error", "mailcmd") # Only let one program run at once per list. -- cgit v1.3.1