Vitaliy Makkoveev <o...@bsdbox.dev> wrote: > > On Mon, Mar 08, 2021 at 01:37:51AM +0300, Vitaliy Makkoveev wrote: > >> I wonder they were not buffered. But does it make sense to drop the > >> most recent messages? > > > > The oldest message should be kept. In my experience you get most > > information why logging started to fail from the first message. > > After that there are subsequent errors. > > I have the opposite experience, the most recent data (include errors) has > the most priority, but no problem with this.
This diff is mostly intended for early boot, when other daemons are started before syslogd. In this instance, I would argue that if the 100-message buffer is overflowed, the earliest log messages are going to be more relevant. They will be more likely to identify the cause of a "flood" of later messages. I think that part of the diff is making the right choice.