From 9795ce0509dcd9a7784365e3e1e8c2a41066a5ab Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 9 Jan 2022 03:42:07 +0800 Subject: [PATCH] update --- store/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/db.go b/store/db.go index 1f5d67a..8af43b4 100644 --- a/store/db.go +++ b/store/db.go @@ -102,7 +102,7 @@ func (s *Store) Connect() (db *gorm.DB, err error) { glog := logger.Default l.Trace().Int("level", viper.GetInt("log.level")). - Bool("tog_info", (zerolog.Level(viper.GetInt("log.level")) <= zerolog.DebugLevel)). + // Bool("tog_info", (zerolog.Level(viper.GetInt("log.level")) <= zerolog.DebugLevel)). Msg("log level") if zerolog.Level(viper.GetInt("log.level")) <= zerolog.DebugLevel { l.Debug().Msg("set gorm log level to info")