diff --git a/cmd/apiary.go b/cmd/apiary.go index bdedd0e..8c9abfc 100644 --- a/cmd/apiary.go +++ b/cmd/apiary.go @@ -210,7 +210,7 @@ func setupLoggers(cfg config.Config) *loggerCollection { level := zap.NewAtomicLevelAt(zap.InfoLevel) logEncoderCfg.EncodeLevel = zapcore.CapitalColorLevelEncoder logEncoderCfg.EncodeTime = zapcore.ISO8601TimeEncoder - logEncoderCfg.EncodeDuration = zapcore.NanosDurationEncoder + logEncoderCfg.EncodeDuration = zapcore.StringDurationEncoder rootLoggerCfg := &zap.Config{ Level: level, OutputPaths: []string{"stdout"}, diff --git a/version.go b/version.go index cd39919..67ffc2f 100644 --- a/version.go +++ b/version.go @@ -5,7 +5,7 @@ import ( "runtime" ) -var Version = "v0.1.18" +var Version = "v0.1.19" var Build string func FullVersion() string {