We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a06355b commit 055a077Copy full SHA for 055a077
pkg/ovsdb/client/client.go
@@ -41,8 +41,14 @@ func init() {
41
}
42
namedUUIDCounter = binary.LittleEndian.Uint32(buff)
43
44
- zc := zap.NewDevelopmentConfig()
+ zc := zap.NewProductionConfig()
45
zc.Level = zap.NewAtomicLevelAt(zapcore.Level(-3))
46
+ zc.EncoderConfig.EncodeLevel = func(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder) {
47
+ if l < zapcore.InfoLevel {
48
+ l = zapcore.InfoLevel
49
+ }
50
+ enc.AppendString(l.String())
51
52
z, err := zc.Build()
53
if err != nil {
54
panic(err)
0 commit comments