You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings! I am writing logging system and faced with the problem, that zap doesn't format correctly fields with different length. How can it be fixed?
sample:
Some time INFO main.server bin/main.go:25 Listening on localhost:8080
Some time DEBUG grants.mongo mongo/logging.go:93 find map[] {"rid": "1", "duration": "76.738167ms"}
Some time DEBUG grants.groups groups/groups.go:76 Resolving group from network {"rid": "1"}
Some time DEBUG grants.groups groups/groups.go:72 Resolving group from cache {"rid": "1"}
Some time DEBUG grants.groups groups/groups.go:72 Resolving group from cache {"rid": "1"}
Some time INFO grants grants/grants.go:153 Deleting role for user
Some time ERROR grants grants/helpers.go:13 403: 403 Forbidden
Some time INFO main.http logging/http_server.go:51 GET /api/render
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Greetings! I am writing logging system and faced with the problem, that zap doesn't format correctly fields with different length. How can it be fixed?
sample:
Beta Was this translation helpful? Give feedback.
All reactions