3 ms·
It's a good point but I think the author sort of drove past the key insight. This is called structured logging. Having some kind of consistent schema of log mes
by zaptheimpaler 5y ago
It's a good point but I think the author sort of drove past the key insight. This is called structured logging. Having some kind of consistent schema of log messages is much better than plain strings for analysis later. It's just building a loose schema of events/log types, and picking a serialization format for said schema. JSON is popular because it remains human readable as well. I agree though, it really is very useful, not much harder than logging strings, and it's easy to evolve an existing system to gradually add structure to logs.
- taspeotis 5y agoSerilog (.NET, not Java) has been doing structured logging well for years.