Article View: news.software.nntp
Article #55503INN: flushing trace statments
From: Anne Wilson
Date: Thu, 06 Dec 2001 01:08
Date: Thu, 06 Dec 2001 01:08
35 lines
2476 bytes
2476 bytes
Hi,
Using an INN server, I'm writing my own routine to process news articles
as they arrive. That is, I've got the following entry in newsfeeds:
test!:!*,unidata.hds\
:Tc,Wn:\
/opt/news/util/dataProdHandlers/articleDecoder "KLBB 20011205000609"
I would like to see my trace statements in articleDecoder appear as my
routine is executed, but it seems that syslog messages and print
statements (I've only tried printing to stderr) are being buffered. At
least, sometimes syslog messages appears in "news.notice" and sometimes
they don't. And sometimes printfs to stderr appear in "errlog" and
sometimes they don't. And sometimes messages seem to appear later. And
sometimes it seems that printf to stderr appears in "news". I'm not at
all clear about what's going on.
How can I get messages to appear in some consistent place as my routine
is being executed? I've tried flushing newsfeeds sites and also
flushing the logs. The former hasn't helped, and the later only rotates
the logs. Can anyone provide a tip?
Thank you!
Anne
--
***************************************************
Anne Wilson UCAR Unidata Program
anne@unidata.ucar.edu P.O. Box 3000
Boulder, CO 80307
----------------------------------------------------
Unidata WWW server http://www.unidata.ucar.edu/
****************************************************
Technical Details
Message-ID:
<3C0EC505.81AF25D4@unidata.ucar.edu>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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!nntp.wetware.com!attdv1!attdv2!ip.att.net!frgp!ucar!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <3C0EC505.81AF25D4@unidata.ucar.edu> Subject: INN: flushing trace statments Date: Wed, 05 Dec 2001 18:08:21 -0700 From: Anne Wilson <anne@unidata.ucar.edu> 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!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!nntp.wetware.com!attdv1!attdv2!ip.att.net!frgp!ucar!not-for-mail Newsgroups: news.software.nntp Organization: UCAR Lines: 34 NNTP-Posting-Host: imogene.unidata.ucar.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.ucar.edu 1007600901 32645 128.117.140.28 (6 Dec 2001 01:08:21 GMT) X-Complaints-To: news@news.ucar.edu NNTP-Posting-Date: 6 Dec 2001 01:08:21 GMT X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en