That newfangled Journal thing
That newfangled Journal thing
Posted Nov 21, 2011 9:05 UTC (Mon) by tpo (subscriber, #25713)In reply to: That newfangled Journal thing by elanthis
Parent article: That newfangled Journal thing
> Why does it have to be all or nothing?
Indeed. The comments to this article seem to be arguing:
- I want syslog
- I want structured logging
- we can run syslog in parallel
However, the synthesis can go further than that:
- Journal could also be accepting unstructured log messages and
just stuff them into
UUID: crap Structure: none at all Here's-the-content: bla bla
entries. In API language that would be:
Journal.log_no_questions_asked("just the message here").All other params would be reset to default (or "untidy crap"). - on the other hand syslog could also receive messages directly from Journal. Of course journal could have a nice configuration facility where you can pick what gets output from Journal so that you only get what is of interest to you in your syslog log.
- If needed one can do highly structured messages, which are well machine processible.
- And we get at the same time an easily human readable/grep-able text.
I can't see why it's not possible to have this and why such a solution would be problematic for any of the "camps" above?
