🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36712

Re: Scanlogs statistics not working properly in INN2.2

#36712
From: Anders Arpteg
Date: Sat, 17 Apr 1999 00:00
48 lines
3009 bytes
Thanks Fabien, my log/news file existed and was not empty, but the
log/news.notice file was empty. I had not added (uncommented) the entries in
the /etc/syslog.conf file for news.notice and the other two.

I executed "scanlogs norotate" now after news.notice is not empty, but
Offered/Approved is actually still 0, but maybe I will have to wait for a while
(maybe until a log rotate) before it starts to report correct offered/approved
statistics.

I find it strange that I havn't found (or it isn't impossible that I missed it
;-) any documentation in the installation documentation about editing the
/etc/syslog.conf file, I did though find that it was mentioned in the
newslog(5) man page.

Fabien Tassin wrote:

> On Sat, 17 Apr 1999 08:19:42 +0200, John Andersson <default@the.net> wrote:
> > I have some problem with the statistics that scanlogs generate (from the
> > news.daily script) with INN2.2 and using innfeed.
> >
> > The Offered/Accepted fields for Incoming feed are just 0 in the
> > generated index.html file, although the Volume field works and shows
> > about 24GB per day. There is no problem in the report for a specific day
> > (news-notice...html), there are the number of articles, art/sec, size,
> > ... fields all working.
> >
> > When examining the innreport.conf file, there seems to be some problem
> > with the %innd_offered and %innd_accepted variables. The only change to
> > the innreport.conf that I have made is enabled html and changed some
> > html fields.
> >
> > Have I missed to turn on logging for Incoming feeds or something like
> > that? I can't find any such entry and I have not changed any logging
> > options from their default values, so any hint would be appreciated.
>
> It looks like a problem with your log files, not with scanlogs/innreport.
>
> Just check that both $NEWSLOG/news.notice and $NEWSLOG/news exist and
> are not empty. innreport process what scanlogs asks him to do so.
>
> IMO, your /etc/syslog.conf and your inn.conf use not the same path for
> news log files.
>
> --
> Fabien Tassin -+- fta@oleane.net


Technical Details
Message-ID: <3718699E.606066A2@the.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <371827FE.45C4D513@the.net> <slrn7hgmfs.40h.fta@nexus.oleane.net>

Show Full Headers
Complete Article Headers
Message-ID: <3718699E.606066A2@the.net>
Subject: Re: Scanlogs statistics not working properly in INN2.2
Date: Sat, 17 Apr 1999 00:00:00 +0000
From: Anders Arpteg <aa@news.bugsoft.hik.se>
References: <371827FE.45C4D513@the.net> <slrn7hgmfs.40h.fta@nexus.oleane.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 467564116
Content-Transfer-Encoding: 7bit
X-Accept-Language: sv,en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@hik.se
X-Trace: news.bugsoft.hik.se 924346784 1168 194.47.165.9 (17 Apr 1999 10:59:44 GMT)
Organization: University of Kalmar, Sweden
Mime-Version: 1.0
NNTP-Posting-Date: 17 Apr 1999 10:59:44 GMT
Newsgroups: news.software.nntp