summaryrefslogtreecommitdiff
path: root/src/mailman/bin/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/bin/runner.py')
-rw-r--r--src/mailman/bin/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/bin/runner.py b/src/mailman/bin/runner.py
index b27ff04ea..b19904aa7 100644
--- a/src/mailman/bin/runner.py
+++ b/src/mailman/bin/runner.py
@@ -220,6 +220,8 @@ def main():
options = ScriptOptions()
options.initialize()
+ log = logging.getLogger('mailman.runner')
+
if options.options.list:
descriptions = {}
for section in config.runner_configs:
@@ -248,7 +250,6 @@ def main():
if runner.intercept_signals:
set_signals(loop)
# Now start up the main loop
- log = logging.getLogger('mailman.runner')
log.info('%s runner started.', loop.name())
runner.run()
log.info('%s runner exiting.', loop.name())