summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-23 17:22:26 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-23 17:22:26 +0100
commita12c5939750b227394cd49da5a273d1b7e76f9b0 (patch)
tree494a56a7837d79591e7aeed9b0ef60632ebccb5d /src
parentdc56371d486fb4955d274830b91653c95a3fb13e (diff)
downloadrabbitmq-server-git-a12c5939750b227394cd49da5a273d1b7e76f9b0.tar.gz
extend comment
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_misc.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 02432d31fe..f2dc97fdcb 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -534,6 +534,8 @@ with_local_io(Fun) ->
end.
%% Log an info message on the local node using the standard logger.
+%% Use this if rabbit isn't running and the call didn't originate on
+%% the local node (e.g. rabbitmqctl calls).
local_info_msg(Format, Args) ->
with_local_io(fun () -> error_logger:info_msg(Format, Args) end).