From 6f09dfecd65e2dc0dd8844d342dfeae042b388f0 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 10 Mar 2023 18:45:23 +0800 Subject: [PATCH] fix cron --- pkg/common/cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/cmd/root.go b/pkg/common/cmd/root.go index 0aa1ca952..c53824b81 100644 --- a/pkg/common/cmd/root.go +++ b/pkg/common/cmd/root.go @@ -22,7 +22,7 @@ func NewRootCmd() (rootCmd *RootCmd) { PersistentPreRunE: func(cmd *cobra.Command, args []string) error { log.InitFromConfig(log.Config{ JSON: true, - Level: "", + Level: "-1", Sample: false, SampleInitial: 0, SampleInterval: 0,