(no title)
thevinter | 2 months ago
Too bad that all of this effort is spent arguing something which can be summarised as "add structured tags to your logs"
Generally speaking my biggest gripe with wide logs (and other "innovative" solutions to logging) is that whatever perceived benefit you argue for doesn't justify the increased complexity and loss of readability.
We're throwing away `grep "uid=user-123" application.log` to get what? The shipping method of the user attached to every log? Doesn't feel an improvement to me...
P.S. The checkboxes in the wide event builder don't work for me (brave - android)
dannyfreeman|2 months ago
If the json logged isn't pretty printed everything should still be on one line. You can also grep with the `--context` flag to get more surrounding lines.
mrkeen|2 months ago
As long as it's actual json, it doesn't matter if it's pretty-printed or not, since `jq` can fold and unfold it at will.
I frequently fold logs into single lines, grep for something, then unfold them again