diff --git a/api/internal/log/zap.go b/api/internal/log/zap.go index abd083bf51..1f3f44a94e 100644 --- a/api/internal/log/zap.go +++ b/api/internal/log/zap.go @@ -41,7 +41,7 @@ func InitLogger() { } func GetLogger(logType Type) *zap.SugaredLogger { - zap.RegisterSink("winfile", newWinFileSink) + _ = zap.RegisterSink("winfile", newWinFileSink) writeSyncer := fileWriter(logType) encoder := getEncoder(logType)