My vote for logging is to use a single-helper approach, combined with an
option what to do if this helper gets overloaded. (i.e. block or ignore
logging).
overloaded == log message queue above a certain limit.
It is also recommended if the log helper writes is block based, with a
maximum granulatiry of 1 second. Yes, this makes the logics in the
helper slightly more complex (sometimes needs to reconstruct lines from
two or more read() fragments), but helps quite a bit in limiting the
overhead.
/Henrik
Received on Thu Feb 15 2001 - 15:52:24 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:31 MST