🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Brian D Heaton Wed, 07 Aug 1996 00:00
logging article size??
#9944
Author: Brian D Heaton
Date: Wed, 07 Aug 1996 00:00
9 lines
637 bytes
Does anyone have a patch to enable logging of article size in the news
logfile or somewhere else?

					BDH



Re: logging article size??
#9980
Author: Heiko W.Rupp
Date: Thu, 08 Aug 1996 00:00
19 lines
1124 bytes
In <4ub5t5$8qj@nimitz.fibr.net>, Brian D Heaton wrote:
:|Does anyone have a patch to enable logging of article size in the news
:|logfile or somewhere else?

Just make a outoging feed with the "Wb" paramterer:

size:*:Tf,Wmb:/path/to/file

and you will get message-id's and sizes. Look at newsfeeds(5).

-- 
Heiko W.Rupp        Gerwigstr.5        D-76131  Karlsruhe    +49 721 9661524
Sircar's Corollary:
  If the USENET discussion touches on homosexuality or Heinlein, Nazis
  or Hitler are mentioned within three days. [Your propagation may vary.]


Re: logging article size??
#10004
Author: 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
>:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads