Preferences

Do you really loose the ability to grep? You can still search for json fragments `grep '"uid": "user-123"' application.log`

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.


It's not even that bad.

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

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal