Skip to content

Commit ee30929

Browse files
rabbit_vhost: log a warning when a virtual host process stops (or fails)
1 parent eed86cb commit ee30929

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)