- Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Describe the bug
The rabbitmqctl tool that comes with RabbitMQ 3.11.20 sends its warnings to the standard output stream instead of the standard error stream. This causes problems with scripts that use it with e.g. --formatter json
Reproduction steps
- Have some settings that cause a warning to be issued when using
rabbitmqctl(e.g. disable TLS server authenticity checks). - Run e.g.
rabbitmqctl cluster_status --formatter json 2>/dev/null
Expected behavior
The command above should only display the JSON-formatted data. Instead, the output starts with warnings and then contains the JSON data.
Additional context
No response