🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #10004

Re: logging article size??

#10004
From: Brian D Heaton
Date: Fri, 09 Aug 1996 00:00
46 lines
2031 bytes
Greg,

	I received another mention of this method along with some perl code to
do the analysis (Thanks Joe!!).  I've tweaked things down quite a bit
and have a working implementation right now.

	I still think the way to do it is to log the article size with the
article entry in the "news" logfile.  Everything else about it gets
logged there and it could then be done without an additional feed
entry or file hanging around.  With luck I can scrape together a few
hours to dig into the source and see what can be done.

			THX, BDH


gerg@netcom.com (Greg Andrews) wrote:

>bheaton@fibrcom.com writes:
>>
>>Does anyone have a patch to enable logging of article size in the news
>>logfile or somewhere else?
>>

>Use a batch file entry in the newsfeeds file, similar to a UUCP feed:


>  !SIZELOG:*:Tf,Wmb:/path/to/logfile

>That will append lines with the message-id and byte count of each
>article that the server receives.  If you want other info, you
>can add other flags ("man newsfeeds" for the list of flags).

>As you roll the logfile, you run "ctlinnd flush \!SIZELOG" to
>make innd let go of the file.

>  -Greg
>-- 
>:::::::::::::::::::  Greg Andrews  gerg@netcom.com  :::::::::::::::::::
>ObDrieux:  MODERN PROBLEMS: Hi Diddle Diddle, The Cat and the Fiddle,
>			    The Cow Blew Up on the Launching Pad
>:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::



Technical Details
Message-ID: <4ufih3$nnl@nimitz.fibr.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: <4ub5t5$8qj@nimitz.fibr.net> <gergDvv232.E1q@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <4ufih3$nnl@nimitz.fibr.net>
Subject: Re: logging article size??
Date: Fri, 09 Aug 1996 00:00:00 +0000
From: bheaton@fibrcom.com (Brian D Heaton)
References: <4ub5t5$8qj@nimitz.fibr.net> <gergDvv232.E1q@netcom.com>
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: 173145044
Organization: FIBRCOM, San Antonio, TX
Reply-to: bheaton@fibrcom.com
Newsgroups: news.software.nntp