From 46e4317b77d686a626d37f2eb1c85c6c19f6b665 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 24 Oct 2021 19:00:15 +0200 Subject: Keep the logger on a disabled bridge. Fixes #1616 (#1621) --- gateway/router.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gateway') diff --git a/gateway/router.go b/gateway/router.go index 468f02c8..a0d5f402 100644 --- a/gateway/router.go +++ b/gateway/router.go @@ -110,7 +110,9 @@ func (r *Router) disableBridge(br *bridge.Bridge, err error) bool { if r.BridgeValues().General.IgnoreFailureOnStart { r.logger.Error(err) // setting this bridge empty - *br = bridge.Bridge{} + *br = bridge.Bridge{ + Log: br.Log, + } return true } return false -- cgit v1.2.3