That newfangled Journal thing
That newfangled Journal thing
Posted Nov 21, 2011 12:46 UTC (Mon) by tpo (subscriber, #25713)In reply to: That newfangled Journal thing by dlang
Parent article: That newfangled Journal thing
AFAI understand Journal identifies and solves the following additional problems:
*
there's no standartised API for reading or writing log entries (so I'd guess that each application that wants to do structured logging has to reinvent how to implement that (escaping, ordering of entries, sub-entries dependencies etc.))
*
there's no standartization on what fields (key/values) are mandatory and what the individual fields mean
Which suggests that even if modern syslogs were used, parsing tools such as logwatch would still need to do a lot of (guess-)work (account for log writing bugs of the apps that produce the structured logs (due to varying implementations), changes in meaning of fields (as application implementor chooses), guessing meanings of fields of unknown apps etc.).
Is my view of affairs correct?
Also you write:
> no need to figure out how to deal with logs that only get written to one of the two
As far as I can see, if both systems were set up to feed into each other, as suggested, there would be no such thing as "logs that only get written to one of the two"? So I think this is not a base for critique?
I can see the additional cost of running both systems. However they would also yield a gain from standartized interfaces and semantics and unambiguous usage, as offered by the Journal?
