summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-10-24 06:32:46 +0000
committerbwarsaw2001-10-24 06:32:46 +0000
commitc38a076d14abccc55e89253980be1ee49dcb28e9 (patch)
tree077c4f038b8363e45397a6bb01fb4cb2da707687
parent75d35170873747b21693415ae6967bdcd57db9fe (diff)
downloadmailman-c38a076d14abccc55e89253980be1ee49dcb28e9.tar.gz
mailman-c38a076d14abccc55e89253980be1ee49dcb28e9.tar.zst
mailman-c38a076d14abccc55e89253980be1ee49dcb28e9.zip
-rw-r--r--bin/mailmanctl3
-rw-r--r--bin/qrunner3
2 files changed, 6 insertions, 0 deletions
diff --git a/bin/mailmanctl b/bin/mailmanctl
index 30ae34d42..c3ee894c2 100644
--- a/bin/mailmanctl
+++ b/bin/mailmanctl
@@ -103,6 +103,7 @@ from Mailman import Utils
from Mailman import LockFile
from Mailman.i18n import _
from Mailman.Logging.Syslog import syslog
+from Mailman.Logging.Utils import LogStdErr
PROGRAM = sys.argv[0]
COMMASPACE = ', '
@@ -115,6 +116,8 @@ LOCKFILE = os.path.join(mm_cfg.LOCK_DIR, 'master-qrunner')
LOCK_LIFETIME = mm_cfg.days(1) + mm_cfg.hours(6)
SNOOZE = mm_cfg.days(1)
+LogStdErr('error', 'mailmanctl', manual_reprime=0, tee_to_stdout=0)
+
def usage(code, msg=''):
diff --git a/bin/qrunner b/bin/qrunner
index f26b63898..797977d04 100644
--- a/bin/qrunner
+++ b/bin/qrunner
@@ -71,10 +71,13 @@ import paths
from Mailman import mm_cfg
from Mailman.i18n import _
from Mailman.Logging.Syslog import syslog
+from Mailman.Logging.Utils import LogStdErr
PROGRAM = sys.argv[0]
COMMASPACE = ', '
+LogStdErr('error', 'qrunner', manual_reprime=0, tee_to_stdout=0)
+
def usage(code, msg=''):