In some email I received from Roger Marquis, sie wrote:
 > 
 > > > >   * Performance issues with log file opening/closing (reading and
 > > > >     writing the entire logfile) once per message.
 > > 
 > > I don't know of *any* implementation that does the above.  I think that
 > > this has been mentioned here and others have run with it.
 > 
 > Haven't verified this in the code but if you move a file (mv
 > /var/log/mail.messages /var/log/mail.oldmessages; touch
 > /var/log/mail.messages) and the new entries are written to the original
 > filename that would indicate that the file handle was not being held open.
 > Otherwise you'd see logs continuing to be appended to the new file
 > (/var/log/mail.oldmessages).

And that is what happens on every box I've seen - until a SIGHUP is sent
to the syslogd process, that is.


Reply via email to