optimize: add klog for debuging requests with apiserver (#830)

This commit is contained in:
澄潭
2024-02-20 17:01:39 +08:00
committed by GitHub
parent 5140372159
commit b652f3e666

View File

@@ -18,10 +18,13 @@ import (
"fmt"
"os"
"istio.io/pkg/log"
"github.com/alibaba/higress/pkg/cmd"
)
func main() {
log.EnableKlogWithCobra()
if err := cmd.GetRootCommand().Execute(); err != nil {
_, _ = fmt.Fprintln(os.Stderr, err)
os.Exit(1)