From bd686effbefac0032006222a102ef62db3bc6410 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 9 Jan 2022 03:35:51 +0800 Subject: [PATCH] update --- store/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/store/db.go b/store/db.go index e366689..713cf17 100644 --- a/store/db.go +++ b/store/db.go @@ -102,6 +102,7 @@ func (s *Store) Connect() (db *gorm.DB, err error) { glog := logger.Default if zerolog.Level(viper.GetInt("log.level")) <= zerolog.DebugLevel { + l.Debug().Msg("set gorm log level to info") glog.LogMode(logger.Info) }