3 ms·
> why there are so many colors in the example? Identifiers, like process-names/pids/IPs, are semantically highlighted by default to make it easier to visually
by tstack 4y ago
> why there are so many colors in the example?
Identifiers, like process-names/pids/IPs, are semantically highlighted by default to make it easier to visually match up values that are the same. And, it's this way because I like it this way, so that's the default.
> For example the http 403/404 is red but it does not stand out.
To me, the red stands out. But, I would also have a much wider window, so the red would stand out even more with the rest of the text.
> Also why a 404 would be red in the first place.
Because 4XX are error codes.
Of course, lnav is pretty customizable at this point, so you can adjust it to your liking. The theme can be changed to something less colorful and the log format definitions can be patched to change their behavior.