Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lowmagnet
· 6y ago · 0 comments
IDK about the error json, looks too much like a PHP dump when a descriptive error wrapper will do.
Comments
[–]
holaatme
6y ago
If you are reading the JSON yourself, you’re doing it wrong. JSON logs can be parsed and stored for analysis and generally deal with multi line issues much better than any non json.
[–]
EdwardDiego
6y ago
Bingo, we emit all our logs as JSON for ingestion into ES to allow easy analysis.