[INN-COMMITTERS] inn/authprogs (9 files)
Jeffrey M. Vinocur
jeff at litech.org
Sat Nov 16 21:12:17 UTC 2002
On Sat, 16 Nov 2002, Russ Allbery wrote:
> Jeffrey M Vinocur <jeff at litech.org> writes:
>
> > By the way, the README in the authprogs directory indicates that the
> > "best" way to do error messages from authenticators/resolvers is to
> > write to stderr. However, none of the existing programs do that (they
> > all use messages.h instead). Should we change the documentation?
>
> Sure, although the messages functions that they call all write to stderr,
> so it's not *quite* inaccurate. But we should be using warn and die over
> using fprintf.
Will commit.
I'm not entirely clear on how to use trace(), by the way. (I was trying
to get some stuff logged at L_DEBUG, I assume that's the right interface.)
Tried using TRACE_PROGRAM and TRACE_ALL but the messages seem to vanish
into the void.
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list