5 ms·
Except that fixed-field loglines are much faster to process than parsing JSON, which makes a difference when working with large logs.
by rhizome 15y ago
Except that fixed-field loglines are much faster to process than parsing JSON, which makes a difference when working with large logs.
- kelnos 15y agoDepends on what you value more: CPU time, or your developers' time keeping the log format and parsers in sync after any change.
- mkross 15y agoYou could test that the logging and parsing are in step, which then reduces the developer time to "Doh, red test" and a simple fix.
- LeafStorm 15y agoSo...integrate quick scripts to get a count of IP addresses into your app's test suite?
- kelnos 15y agoWhy increase your burden even to that? Computers are there to do stupid repetitive stuff for us so we don't have to. Why design a logging format that requires even minimal manual intervention to keep automated parsing working?