On Wed, Jan 21, 2015 at 02:36:57AM +0100, IMAP List Administration wrote: > Yup, and this is exactly what I'm doing: I forward everything to localhost, > and > pick it up with syslog-ng. However, in order to make sure that everything gets > logged, I have to start syslog-ng to listen before I start syslogd, which > means... a dirty hack to /etc/rc. sigh.
I have added TCP support to OpenBSD syslogd to make logging reliably. It buffers up to 256k in memory and reconnects until it can reach a server. This should address your use case. It is not perfect yet, it still drops messages in the buffer when it receives a SIGHUP. Will be fixed later and should not happen on localhost. bluhm