[rabbitmq-discuss] rabbitmqctl_real writes error messages to stdout

Hubert Plociniczak hubert at lshift.net
Fri Nov 28 15:24:56 GMT 2008


Hi Terry,

thanks for reporting this. This is indeed a wrong behavior. We will fix 
it in the next release.

Hubert

Terry Jones wrote:
> 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
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>   


-- 
  [][][] Hubert Plociniczak
    [][] LShift Ltd
  []  [] www.lshift.net





More information about the rabbitmq-discuss mailing list