diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-23 17:22:26 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-09-23 17:22:26 +0100 |
commit | 118c4886d1f179fb063ce984956db6c719639c5e (patch) | |
tree | 494a56a7837d79591e7aeed9b0ef60632ebccb5d | |
parent | 517acceb98f540559c8edbe9c9aa43522fba4f3e (diff) | |
download | rabbitmq-server-bug24315.tar.gz |
extend commentbug24315
-rw-r--r-- | src/rabbit_misc.erl | 2 |
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). |