scanspool, hostname resolution error logging

Russ Allbery rra at stanford.edu
Thu Aug 4 00:18:35 UTC 2011


Florian Schlichting <fschlich at CIS.FU-Berlin.DE> writes:

> innd uses "syslog(L_ERROR, ..." directly, whereas innfeed uses the more
> generic warn(); but then I got confused because the message handler
> message_log_syslog_warning writes to news.notice only (as warning is
> less than err) - but what's the point in having three functions
> notice(), warn(), and die() if they don't correspond to the three syslog
> files news.notice, news.err and news.crit? Why would we differentiate
> between notice() and warn() if it ends up in the same place anyway?
> Perhaps someone can shed light on this...

You're seeing an incomplete transition, which is why it's confusing.
Indeed, this should be sorted out so that they go to the correct places,
and then all the direct logging replaced with those functions unless it
wants to send to some particular un-covered level (like INFO).

-- 
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 mailing list