Fix storage backends not outputting any info logs (#250)

This commit is contained in:
MaxJa4 2023-08-20 20:35:25 +02:00 committed by GitHub
parent 67e7288855
commit 47326c7c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,6 @@ func newScript() (*script, error) {
s.logger.Warn(fmt.Sprintf("["+context+"] "+msg, params...)) s.logger.Warn(fmt.Sprintf("["+context+"] "+msg, params...))
case storage.LogLevelError: case storage.LogLevelError:
s.logger.Error(fmt.Sprintf("["+context+"] "+msg, params...)) s.logger.Error(fmt.Sprintf("["+context+"] "+msg, params...))
case storage.LogLevelInfo:
default: default:
s.logger.Info(fmt.Sprintf("["+context+"] "+msg, params...)) s.logger.Info(fmt.Sprintf("["+context+"] "+msg, params...))
} }