My programme under Solaris 2.6 logs information using the syslog function at
the rate of about 100 messages/secondes.
I noticed that randomly some messages are skipped (they are not present in
the log file though I am sure the programme has called the syslog() function
with correct parameters).
The syslog() function has no return code. I believed that it was because
there was no errors.
I read in the man pages that the syslogd daemon is reading in the /dev/log
device messages written by calls to syslogd(). Is it possible that this
device has a limited size and that when it is full, new messages are lost?
In that case, what can I do to make it works.
Basically, what I need is a mechanism that make it possible for several
multithreaded processes to write messages in a common file. I thought syslog
was a good solution. What do you think about that?
Is there a better solution?