Skip to content

Commit

Permalink
Update gorm 'info' log level translation (flyteorg#134)
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <[email protected]>
  • Loading branch information
katrogan authored May 4, 2022
1 parent 7f3f28c commit 2a94c0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/gorm.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ func GetGormLogger(ctx context.Context, logConfig *logger.Config) gormLogger.Int
case logger.ErrorLevel:
logLevel = gormLogger.Error
case logger.WarnLevel:
logLevel = gormLogger.Warn
case logger.InfoLevel:
fallthrough
case logger.InfoLevel:
logLevel = gormLogger.Warn
case logger.DebugLevel:
logLevel = gormLogger.Info
ignoreRecordNotFoundError = false
Expand Down

0 comments on commit 2a94c0c

Please sign in to comment.