🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Curtis Williams Mon, 07 May 2001 17:12
newsgroup name in INN news logfile
#52221
Author: Curtis Williams
Date: Mon, 07 May 2001 17:12
23 lines
1718 bytes
Using INN 2.3.2:

Is is possible to add the newsgroup name to the  ./log/news  logfile?  I've
seen this done on a Slackware Linux default installation, but can't seem to
find any information on what keyword in inn.conf might generate entries like
this:

May  7 13:07:16.041 + news.feed.site
<FCAJ6.4671$vg1.365612@www.newsranger.com> news.software.nntp 2178

Any pointers in the right direction appreciated.

-- 

 Curtis Williams, Senior QA Engineer
 Process Software
 959 Concord Street
 Framingham, MA 01701
 Phone: 508-879-6994 x308    Fax: 508-879-0042
 USPA D-21076
 "Computer, you and I need to have a little talk."
   -- Miles O'Brien, Deep Space Nine
Re: newsgroup name in INN news logfile
#52223
Author: Russ Allbery
Date: Mon, 07 May 2001 18:07
23 lines
1730 bytes
Curtis Williams <williamsca@process.com> writes:

> Using INN 2.3.2:

> Is is possible to add the newsgroup name to the ./log/news logfile?
> I've seen this done on a Slackware Linux default installation, but can't
> seem to find any information on what keyword in inn.conf might generate
> entries like this:

> May  7 13:07:16.041 + news.feed.site
> <FCAJ6.4671$vg1.365612@www.newsranger.com> news.software.nntp 2178

> Any pointers in the right direction appreciated.

I'm not aware of a way to do that without code modifications.  (Which
newsgroup name would you log in the case of crossposted messages?)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: newsgroup name in INN news logfile
#52233
Author: those who know me have no need o...
Date: Mon, 07 May 2001 22:55
13 lines
1096 bytes
<3AF6D76C.22B4FE2F@process.com> divulged:

>Is is possible to add the newsgroup name to the  ./log/news  logfile?  

if you want that kind of thing you might write a bit of script (or
whatever) and send it a feed.

or, as russ said, hack the source.  you'll break other stuff, so be sure
to fix any that you use.

-- 
okay, have a sig then
Re: newsgroup name in INN news logfile
#52235
Author: those who know me have no need o...
Date: Mon, 07 May 2001 22:55
9 lines
982 bytes
<yl8zk9hw1v.fsf@windlord.stanford.edu> divulged:

>(Which newsgroup name would you log in the case of crossposted messages?)

the whole thing, with spaces removed, i'd guess.

-- 
okay, have a sig then
Re: newsgroup name in INN news logfile
#52238
Author: Curtis Williams
Date: Tue, 08 May 2001 13:09
23 lines
1880 bytes

Russ Allbery wrote:
> 
> I'm not aware of a way to do that without code modifications.  (Which
> newsgroup name would you log in the case of crossposted messages?)

Good question.  My primary reason for wanting to do this is for an occassional
sanity checking of a newsfeed.  I see the article ID in the logfile but would
like to find out what group that ID went into.  So as an alternate question: 
Is there a way to take the article ID and backtrack it into the group?

-- 

 Curtis Williams, Senior QA Engineer
 Process Software
 959 Concord Street
 Framingham, MA 01701
 Phone: 508-879-6994 x308    Fax: 508-879-0042
 USPA D-21076
 "Computer, you and I need to have a little talk."
   -- Miles O'Brien, Deep Space Nine
Re: newsgroup name in INN news logfile
#52240
Author: Russ Allbery
Date: Tue, 08 May 2001 13:52
20 lines
1773 bytes
Curtis Williams <williamsca@process.com> writes:
> Russ Allbery wrote:

>> I'm not aware of a way to do that without code modifications.  (Which
>> newsgroup name would you log in the case of crossposted messages?)

> Good question.  My primary reason for wanting to do this is for an
> occassional sanity checking of a newsfeed.  I see the article ID in the
> logfile but would like to find out what group that ID went into.  So as
> an alternate question: Is there a way to take the article ID and
> backtrack it into the group?

sm `grephistory <messageid>` | grep -i newsgroups:

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: newsgroup name in INN news logfile
#52239
Author: Russ Allbery
Date: Tue, 08 May 2001 14:12
13 lines
1413 bytes
Russ Allbery <rra@stanford.edu> writes:

> sm `grephistory <messageid>` | grep -i newsgroups:

Er, sm `grephistory '<messageid>'` | grep -i newsgroups: is a bit more
likely to be successful.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: newsgroup name in INN news logfile
#52249
Author: Curtis Williams
Date: Tue, 08 May 2001 20:36
25 lines
1807 bytes

Russ Allbery wrote:
> 
> Russ Allbery <rra@stanford.edu> writes:
> 
> > sm `grephistory <messageid>` | grep -i newsgroups:
> 
> Er, sm `grephistory '<messageid>'` | grep -i newsgroups: is a bit more
> likely to be successful.

Yep!  Works great!  Didn't know grephistory and sm existed.


-- 

 Curtis Williams, Senior QA Engineer
 Process Software
 959 Concord Street
 Framingham, MA 01701
 Phone: 508-879-6994 x308    Fax: 508-879-0042
 USPA D-21076
 "Computer, you and I need to have a little talk."
   -- Miles O'Brien, Deep Space Nine
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