diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-08-11 18:17:41 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-08-11 18:17:41 +0100 |
commit | 3aa173d29e011081840018d367d00660e66b5eb8 (patch) | |
tree | 42e1bc0ab9e3ae7f43097733fb8c8bdf7e714d84 /src/rabbit_misc.erl | |
parent | 0daacf7c864e30cb611511af5c618c5d76988822 (diff) | |
download | rabbitmq-server-3aa173d29e011081840018d367d00660e66b5eb8.tar.gz |
Remove a ton of special-case error_logger invocations
Diffstat (limited to 'src/rabbit_misc.erl')
-rw-r--r-- | src/rabbit_misc.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index a5cd1bdd..7ff88f04 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -656,10 +656,10 @@ 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). +%% Use this if 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). + with_local_io(fun () -> rabbit_log:info(Format, Args) end). unfold(Fun, Init) -> unfold(Fun, [], Init). |