Daily reports

Jeffrey M. Vinocur jeff at litech.org
Sun Feb 22 21:12:17 UTC 2015


On Sun, 22 Feb 2015, Julien ÉLIE wrote:

> Hi Jeffrey,
>
>>  We had some sort of transient issue that resulted in a lot of the
>>  following message being generated, which then appeared in the news.daily
>>  verbatim (without being summarized) until the news.daily emails were so
>>  large they were bouncing.
>>
>>  Error log:
>>  no connection to syslog available
>>           - unix dgram connect: Connection refused at
>>  /usr/local/news/bin/controlchan line 518.
>
> I suggest to fix the issue directly in scanlogs, where the errlog file is 
> just cat'ed.  I believe it will be better (and also easier) than trying to 
> modify how controlchan logging works.
>
> I suggest to add a "maxlines" keyword that can be added to scanlogs 
> invocation.

This seems reasonable.

Ideally it would be nice to consolidate the duplicated lines (as we do 
with other sorts of logging) but I guess if there are multi-line error 
messages (which it seems like there were in this case) that is nontrivial 
to do.


-- 
Jeffrey M. Vinocur
jeff at litech.org


More information about the inn-workers mailing list