syslog(3) issues

Hooman Fazaeli hoomanfazaeli at gmail.com
Mon Sep 3 08:12:41 UTC 2012


On 9/3/2012 4:05 AM, Attilio Rao wrote:
> Hi,
> I was trying to use syslog(3) in a port application that uses
> threading , having all of them at the LOG_CRIT level. What I see is
> that when the logging gets massive (1000 entries) I cannot find some
> items within the /var/log/messages (I know because I started stamping
> also some sort of message ID in order to see what is going on). The
> missing items are in the order of 25% of what really be there.
>
>
>

Is not it caused by syslogd compression? As you may know syslogd compresses
consecutive identical messages into one message like "last message repeated N times".
The -cc option disables compression.



More information about the freebsd-hackers mailing list