summaryrefslogtreecommitdiff
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
commit118c4886d1f179fb063ce984956db6c719639c5e (patch)
tree494a56a7837d79591e7aeed9b0ef60632ebccb5d
parent517acceb98f540559c8edbe9c9aa43522fba4f3e (diff)
downloadrabbitmq-server-bug24315.tar.gz
extend commentbug24315
-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 02432d31..f2dc97fd 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).