Merge "Ignore unhandled OMCI msgs"
diff --git a/common/logger/logger.go b/common/logger/logger.go
index 5830e3b..444cabb 100644
--- a/common/logger/logger.go
+++ b/common/logger/logger.go
@@ -19,6 +19,7 @@
import (
lkh "github.com/gfremex/logrus-kafka-hook"
log "github.com/sirupsen/logrus"
+ "time"
)
var (
@@ -42,9 +43,10 @@
"kh",
[]log.Level{log.DebugLevel, log.InfoLevel, log.WarnLevel, log.ErrorLevel},
&log.JSONFormatter{
+ TimestampFormat: time.RFC3339Nano,
FieldMap: log.FieldMap{
log.FieldKeyTime: "@timestamp",
- log.FieldKeyLevel: "level",
+ log.FieldKeyLevel: "levelname",
log.FieldKeyMsg: "message",
},
},