rabbit_vhost: log a warning when a virtual host process stops (or fails)
This commit is contained in:
parent
eed86cbce8
commit
ee3092940d
|
|
@ -438,6 +438,7 @@ vhost_cluster_state(VHost) ->
|
||||||
Nodes).
|
Nodes).
|
||||||
|
|
||||||
vhost_down(VHost) ->
|
vhost_down(VHost) ->
|
||||||
|
rabbit_log:warning("Virtual host '~ts' is stopping or failed", [VHost]),
|
||||||
ok = rabbit_event:notify(vhost_down,
|
ok = rabbit_event:notify(vhost_down,
|
||||||
[{name, VHost},
|
[{name, VHost},
|
||||||
{node, node()},
|
{node, node()},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue