The journald design is horrible to the point of useless
The journald design is horrible to the point of useless
Posted Dec 1, 2011 13:47 UTC (Thu) by dlang (guest, #313)In reply to: The journald design is horrible to the point of useless by anselm
Parent article: That newfangled Journal thing
> The BSDs apparently have their own implementation. MacOS X probably has, too. There are likely syslogd implementations in all sorts of appliances.
> This doesn't matter as much for the purposes of journald, which tries to reboot the franchise to a large extent, but as far as tweaking the existing syslog mechanisms are concerned, it is just as well to be aware that relying on one single implementation for all the improvements isn't all that different from coming up with something completely new and different.
syslog-ng and rsyslog both work across different flavors of Unix. Since LP says that we should only develop for Linux and all other flavors should go hang, this is definantly not an argument in favor of the journal.
there are two independent implementations (not providing the exact same features, but competing and adding features)
but in both of these implementations are doing incremental improvements, not "throw out everything that's worked up until now because I know better"
getting applications to structure their logs is completely independent of what logging mechanism they use, look at the work that CEE is doing to try and define standards (and then watch to see if anyone bothers to use these standards when writing logs) I don't believe that a binary format is going to help this any.
that being said, rsyslog does include the ability to define log parsers that create fields that can then be manipulated by rsyslog (either for decisioning by rsyslog, or for writing to a log store) see http://www.rsyslog.com/doc/mmnormalize.html for a hint on how to invoke this in rsyslog (it then creates $!<name> properties that can be used)
I would strongly suggest that if the default log store you are dealing with does not meet your needs, that you should look at reconfiguring the systems that you manage to use a log store that better fits your needs.
then you say
> Trusted properties, an efficient log store, generality, performance,
there are various things in the journald proposal that rsyslogd has yet to address.
addressing your wish list
rsyslog now has trusted properties (it already had trusted PID)
it supports many different log stores, you need to define what you mean by 'an efficient log store' more precisely before anyone can tell you which one is best for you.
generality seems to be a clear win for rsyslog compared to the journal proposal and it's lock-in to systemd and Linux
as far as performance goes, rsyslog can process a million logs a second (of the right log type, on the right hardware), I seriously doubt that the journal will do nearly as well (especially in it's first implementation), so you must mean something different in terms of performance. what is it that you are looking for in the logging daemon that makes you think that the journal (which doesn't exist yet) will outperform existing, tuned and tested code?
