summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Hoguin <lhoguin@vmware.com>2021-12-17 09:47:33 +0100
committermergify-bot <noreply@mergify.com>2021-12-18 11:38:51 +0000
commit4f3ad87bd58e7141cc5fc84aee6827319474ac45 (patch)
tree05a0a87c83ad0885e7f7dc9541bfb3b8e8859115
parente4fa98a1e189d45fb323c5ed722a0e729b6c1e61 (diff)
downloadrabbitmq-server-git-4f3ad87bd58e7141cc5fc84aee6827319474ac45.tar.gz
Fix log level when halting the VM
When switching from lager to logger a mistake was made and the list of applications remaining when the node stops was made to log at error level instead of info. https://github.com/rabbitmq/rabbitmq-server/commit/cdcf602749a#diff-5d9f448b943b2c77af7822440fc8df8af02bf2001d1c51a484413f69cad37a62L473-R486 (cherry picked from commit 728e5b91b689412d7ac911ab247c28a5b5d693e6)
-rw-r--r--deps/rabbit/src/rabbit.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbit/src/rabbit.erl b/deps/rabbit/src/rabbit.erl
index 32e07d095b..48ef9ec439 100644
--- a/deps/rabbit/src/rabbit.erl
+++ b/deps/rabbit/src/rabbit.erl
@@ -500,7 +500,7 @@ stop_and_halt() ->
%% init:stop() will be called regardless of any errors.
try
AppsLeft = [ A || {A, _, _} <- application:which_applications() ],
- ?LOG_ERROR(
+ ?LOG_INFO(
lists:flatten(
["Halting Erlang VM with the following applications:~n",
[" ~p~n" || _ <- AppsLeft]]),