Skip to content

Commit f8bb4b1

Browse files
committed
Fix unintended write to stdout
- When supervisord is run as a daemon, stdout is not available. - The extra output may interfere with programs that scrape supervisorctl. - When tests are run, unintended output is shown. To solve the above issues, we need to surface this information in a different way, e.g. in the supervisord log file or behind a command line option for supervisorctl. Reverts 7677999 Reverts 44b2887
1 parent 1e738ba commit f8bb4b1

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

CHANGES.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
the ``[supervisorctl]`` section or ``[ctlplugin:x]`` sections to be in
77
included files. Patch by François Granade.
88

9-
- If ``supervisord`` searches the default paths for its config file (no
10-
``-c`` flag given), it will now print a message showing the path of the
11-
config file that it loaded. Patch by Alexander Tuna.
12-
139
4.2.5 (2022-12-23)
1410
------------------
1511

supervisor/options.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def default_configfile(self):
128128
for path in self.searchpaths:
129129
if os.path.exists(path):
130130
config = path
131-
self.stdout.write("Chose default config file: %s\n" % config)
132131
break
133132
if config is None and self.require_configfile:
134133
self.usage('No config file found at default paths (%s); '

0 commit comments

Comments
 (0)