Re:Log Everything as JSON. Make Your Life Easier.
by rhizome on Thursday April 26, 2012 @08:51PM
(#3896897)
Except that fixed-field loglines are much faster to process than parsing JSON, which makes a difference when working with large logs.
[ Parent
| on HN ]
Re:Log Everything as JSON. Make Your Life Easier.
by kelnos on Thursday April 26, 2012 @09:02PM
(#3896937)
Depends on what you value more: CPU time, or your developers' time keeping the log format and parsers in sync after any change.
Re:Log Everything as JSON. Make Your Life Easier.
by mkross on Thursday April 26, 2012 @09:08PM
(#3896960)
You could test that the logging and parsing are in step, which then reduces the developer time to "Doh, red test" and a simple fix.
Re:Log Everything as JSON. Make Your Life Easier.
by kelnos on Monday April 30, 2012 @03:27PM
(#3910944)
Why 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?