diff options
Diffstat (limited to 'src/rabbit_control.erl')
-rw-r--r-- | src/rabbit_control.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index 4c1b92bb..28761eeb 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -73,7 +73,7 @@ Available commands: force_reset cluster <ClusterNode> ... status - reopen_logs [Suffix] + rotate_logs [Suffix] add_user <UserName> <Password> delete_user <UserName> @@ -130,12 +130,12 @@ action(status, Node, []) -> io:format("~n~p~n", [Res]), ok; -action(reopen_logs, Node, []) -> +action(rotate_logs, Node, []) -> io:format("Reopening logs for node ~p ...", [Node]), - call(Node, {rabbit, reopen_logs, []}); -action(reopen_logs, Node, Args = [Suffix]) -> - io:format("Moving logs to files with suffix ~p and reopening logs ...", [Suffix]), - call(Node, {rabbit, reopen_logs, Args}); + call(Node, {rabbit, rotate_logs, []}); +action(rotate_logs, Node, Args = [Suffix]) -> + io:format("Rotating logs to files with suffix ~p ...", [Suffix]), + call(Node, {rabbit, rotate_logs, Args}); action(add_user, Node, Args = [Username, _Password]) -> io:format("Creating user ~p ...", [Username]), |