mirror of
https://github.com/alibaba/higress.git
synced 2026-05-27 14:17:27 +08:00
fix: fix non-json logs with log_as_json enabled (#3779)
Signed-off-by: CH3CHO <ch3cho@qq.com>
This commit is contained in:
@@ -30,7 +30,7 @@ import (
|
||||
"github.com/hashicorp/go-multierror"
|
||||
"go.uber.org/atomic"
|
||||
"istio.io/api/networking/v1alpha3"
|
||||
"istio.io/pkg/log"
|
||||
"istio.io/istio/pkg/log"
|
||||
|
||||
apiv1 "github.com/alibaba/higress/v2/api/networking/v1"
|
||||
"github.com/alibaba/higress/v2/pkg/common"
|
||||
@@ -665,7 +665,7 @@ func (w *watcher) Run() {
|
||||
defer func() {
|
||||
log.Info("[zookeeper] Run is down")
|
||||
if r := recover(); r != nil {
|
||||
log.Info("Recovered in f", "r is", r)
|
||||
log.Infof("Recovered in Run: %v", r)
|
||||
}
|
||||
}()
|
||||
ticker := time.NewTicker(30 * time.Second)
|
||||
|
||||
Reference in New Issue
Block a user