INN error reporting functions
rra at stanford.edu
Sat Aug 24 00:14:39 UTC 2002
I've converted all of the various INN programs to use the message and
error reporting functions in "inn/messages.h" except for innd, nnrpd, and
innfeed, which will require some more complex work. I haven't done the
storage backends or the history backend, but every program should now set
up appropriate handlers for what it does.
This means that it's now safe to use warn and notice in any of the backend
libraries used by INN (die generally isn't a good idea for most of the
backend functions for obvious reasons), and anyone who wants to convert
parts of innd's, nnrpd's, or innfeed's error handling can feel free.
Using trace and debug would also be great, but will be somewhat trickier
to set up correctly and will require a lot of thought about what's
actually being done.
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers