As I've already said...
As I've already said...
Posted Nov 21, 2011 8:08 UTC (Mon) by khim (subscriber, #9252)In reply to: Actually I think it's good idea to have two types of logs by Cyberax
Parent article: That newfangled Journal thing
Any conclusion made from false premise will be true so you rant is certainly valid.
Well, if it can be made easy to use structured logging everywhere, then why not do it?
The only way known to humanity is to put fixed value in all fields except textual "details" field and then write free-form description there. A lot of peoples tried to make "structured logging everywhere" work, yet none succeeded. This means it's time to stop trying to push "structured logging everywhere" idea and think about different question "do we really need structured logging?" and the answer is "probably not". A lot of logs only make sense for someone who has detailed knowledge of the program. If you don't think long and hard about what your log is trying to convey and to whom then then no amount of structure applied will help. And not all log messages deserve such attention. At least this is what developers usually think - and if you system will not be accepted by developers then it may as well not exist.
