[rabbitmq-discuss] rabbitmqctl_real writes error messages to stdout

Terry Jones terry at jon.es
Fri Nov 28 12:47:18 GMT 2008


Is there a reason why rabbitmqctl_real writes error messages to stdout
instead of stderr?

    $ rabbitmqctl_real delete_user guest
    Deleting user "guest" ...
    rabbit_control action delete_user failed:
    {error,{no_such_user,<<"guest">>}}

    $ rabbitmqctl_real delete_user guest > /dev/null

It's no big deal, and I don't need anyone to fix it, and it didn't even
slow me down. But it could have and it's unconventional. At least the exit
status is non-zero :-)

Terry




More information about the rabbitmq-discuss mailing list