Skip to content

Commit

Permalink
fix: debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Aug 6, 2024
1 parent d898b9b commit 5bf5f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func InitDBWithConfig(cfg *DBConfig, writeAccess bool) *gorm.DB {
log.New(os.Stdout, "\r\n", log.LstdFlags), // io writer
logger.Config{
SlowThreshold: 10 * time.Millisecond, // Slow SQL threshold
LogLevel: logger.Info,
LogLevel: logger.Silent,
IgnoreRecordNotFoundError: true, // Ignore ErrRecordNotFound error for logger
Colorful: true, // Disable color
},
Expand Down

0 comments on commit 5bf5f09

Please sign in to comment.