rabbit_vhost: log a warning when a virtual host process stops (or fails)

This commit is contained in:
Michael Klishin 2024-05-20 00:20:23 -04:00
parent eed86cbce8
commit ee3092940d
1 changed files with 1 additions and 0 deletions

View File

@ -438,6 +438,7 @@ vhost_cluster_state(VHost) ->
Nodes).
vhost_down(VHost) ->
rabbit_log:warning("Virtual host '~ts' is stopping or failed", [VHost]),
ok = rabbit_event:notify(vhost_down,
[{name, VHost},
{node, node()},