[EROS-Arch] Error logging
Jonathan S. Shapiro
shap@eros-os.org
Tue, 25 Sep 2001 13:49:10 -0400
> The problem with bounded circular logs is that they lend themselves to
> track-covering. I presume what you would usually want is a bounded
> non-circular log - once full, attempts to access it would fail or block,
> depending on your choice, I guess.
>
> Circular logs should only be used for non-critical information.
So should we stop the machine because gcc can't write an assertion()?
A diagnostic log is not a guarantee that you can figure out what happened.
It is merely a potentially useful tool. Viewed in that light, a bounded
circular log is acceptable for this application.
This is decidedly *not* true of an audit log, which must indeed last a long
time. I think we may be talking about two different cases here.
The questions, which I had not considered, would then seem to be:
1. Should these logs be distinct?
2. How should the audit log be handled?
3. In a decomposed system, how useful is an audit log?
Jonathan