Article View: news.software.nntp
Article #323Log File Woes --- V.2, no inetd
From: Ian G Batten
Date: Tue, 24 Oct 1989 12:51
Date: Tue, 24 Oct 1989 12:51
12 lines
1095 bytes
1095 bytes
If you are running ALONE, without inetd, and trim the nntp logs in the same style as the main news logs (by moving nntplog to nntplog.0, etc) then you lose all logging if the machine is up for more days than the number of logs you keep. This is because file-descriptors are valid accross 'mv' commands. I added a resetlog() after the accept in main.c; is this valid? ian -- Ian G Batten, BT Fulcrum - igb@fulcrum.bt.co.uk - ...!uunet!ukc!fulcrum!igb
Technical Details
Message-ID:
<385@masalla.fulcrum.bt.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!stl!stc!axion!masalla.fulcrum.bt.co.uk!igbShow Full Headers
Complete Article Headers
Message-ID: <385@masalla.fulcrum.bt.co.uk> Subject: Log File Woes --- V.2, no inetd Date: Tue, 24 Oct 1989 12:51:40 +0000 From: igb@fulcrum.bt.co.uk (Ian G Batten) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!ukc!stl!stc!axion!masalla.fulcrum.bt.co.uk!igb Newsgroups: news.software.nntp Reply-To: igb@fulcrum.bt.co.uk (Ian G Batten) Organization: BT Fulcrum, Birmingham, England Lines: 11