Skip to content

Commit 2120024

Browse files
michaelklishinmergify[bot]
authored andcommitted
rabbit_vhost: log a warning when a virtual host process stops (or fails)
(cherry picked from commit ee30929)
1 parent f564376 commit 2120024

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/rabbit/src/rabbit_vhost.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ vhost_cluster_state(VHost) ->
438438
Nodes).
439439

440440
vhost_down(VHost) ->
441+
rabbit_log:warning("Virtual host '~ts' is stopping or failed", [VHost]),
441442
ok = rabbit_event:notify(vhost_down,
442443
[{name, VHost},
443444
{node, node()},

0 commit comments

Comments
 (0)