Send inn-workers mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/inn-workers
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of inn-workers digest..."


Today's Topics:

   1. Re: Daily reports (Julien ?LIE)
   2. Re: Daily reports (Jeffrey M. Vinocur)


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Feb 2015 18:42:29 +0100
From: Julien ?LIE <[email protected]>
To: [email protected]
Subject: Re: Daily reports
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

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.
By default, it would be 50 (same value as the default value for the 
number of reported unknown lines in news.notice when innreport runs).

This cut would apply to both news.crit and errlog (the two files that 
scanlogs prints, besides of course the daily report generated by innreport).


Would this fix suit you or do you have another suggestion?

-- 
Julien ?LIE

? Un myope qui lit sur les l?vres entend mieux s'il porte des
   lunettes. ? (Philippe Geluck)


------------------------------

Message: 2
Date: Sun, 22 Feb 2015 16:12:17 -0500 (EST)
From: "Jeffrey M. Vinocur" <[email protected]>
To: [email protected]
Subject: Re: Daily reports
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

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
[email protected]

------------------------------

_______________________________________________
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

End of inn-workers Digest, Vol 69, Issue 7
******************************************

Reply via email to