From e15d29b758d37d0baabaaa9475083445bde0ba47 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 9 Jan 2022 03:31:38 +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 65b4b5c..f1523a9 100644 --- a/store/db.go +++ b/store/db.go @@ -100,7 +100,7 @@ func New(t DBTYPE) *Store { // Connect to db and store db connection to var DB func (s *Store) Connect() (db *gorm.DB, err error) { s.config = &gorm.Config{ - Logger: logger.Default, + Logger: logger.Default.LogMode(logger.Info), SkipDefaultTransaction: true, } if s.Prod {