Skip to content

Commit 0a8d503

Browse files
Merge pull request #11270 from rabbitmq/mk-rabbitmq-vhost-log-when-reported-stopping-or-down
rabbit_vhost: log a warning when a virtual host process stops (or fails)
2 parents eed86cb + ee30929 commit 0a8d503

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)