Skip to content

Commit

Permalink
rename loglevel field
Browse files Browse the repository at this point in the history
  • Loading branch information
yacut committed Dec 7, 2017
1 parent 0b4720b commit 9371b2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kubernetes-rbac-synchroniser.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ func main() {
if logJSON {
log.SetFormatter(&log.JSONFormatter{
FieldMap: log.FieldMap{
log.FieldKeyTime: "@timestamp",
log.FieldKeyTime: "@timestamp",
log.FieldKeyLevel: "loglevel",
},
})
}
Expand Down

0 comments on commit 9371b2f

Please sign in to comment.