diff --git a/core/paramtable/base_table.go b/core/paramtable/base_table.go index 340489ff..b73e2985 100644 --- a/core/paramtable/base_table.go +++ b/core/paramtable/base_table.go @@ -370,7 +370,7 @@ func (gp *BaseTable) InitLogCfg() { gp.Log = log.Config{} format := gp.LoadWithDefault("log.format", "text") gp.Log.Format = format - level := gp.LoadWithDefault("log.level", "debug") + level := gp.LoadWithDefault("log.level", "info") gp.Log.Level = level gp.Log.Console = gp.ParseBool("log.console", false) gp.Log.File.Filename = gp.LoadWithDefault("log.file.rootPath", "backup.log") diff --git a/internal/log/log.go b/internal/log/log.go index 97bd4acd..8cb9a7ec 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -130,7 +130,7 @@ func initFileLog(cfg *FileLogConfig) (*lumberjack.Logger, error) { } func newStdLogger() (*zap.Logger, *ZapProperties) { - conf := &Config{Level: "debug", File: FileLogConfig{}} + conf := &Config{Level: "info", File: FileLogConfig{}} lg, r, _ := InitLogger(conf, zap.AddCallerSkip(1)) return lg, r }