Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 6f47134

Browse files
Merge pull request #187 from rabbitmq/rabbitmq-server-1122
Log every stopping application
2 parents 0d1a047 + f4b2e2d commit 6f47134

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/app_utils.erl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ start_applications(Apps, ErrorHandler) ->
5858

5959
stop_applications(Apps, ErrorHandler) ->
6060
manage_applications(fun lists:foldr/3,
61-
fun application:stop/1,
61+
fun(App) ->
62+
rabbit_log:info("Stopping application '~s'", [App]),
63+
application:stop(App)
64+
end,
6265
fun application:start/1,
6366
not_started,
6467
ErrorHandler,

0 commit comments

Comments
 (0)