Article View: news.software.nntp
Article #48062Re: log rotation on innd
From: Bert Hyman
Date: Wed, 23 Aug 2000 00:00
Date: Wed, 23 Aug 2000 00:00
44 lines
2184 bytes
2184 bytes
kmlim@mimos.my (Lim Kean Meng) wrote in <Pine.GSO.4.20.0008240312430.25277-100000@ew>: >To specificaly keep innd's log for 30 days range do we need to alter >the parameter in news.daily or the OS's /etc/syslog.conf? You would change the parameters passed to news.daily. I assume that you run "news.daily" out of cron. To do what I think you want to do, run news.daily for 29 days with a "norotate" parameter and only on the 30th day run without it. This should allow your news logs to accumulate for 30 days before a new set of logs would be created. > >On 22 Aug 2000, Bert Hyman wrote: > >> kmlim@mimos.my (Lim Kean Meng) wrote in >> <Pine.GSO.4.20.0008230127420.25086-100000@ew>: >> >> >Anybody have try rotating innd log ie. news.notice, errlog for 30 >> >days. Which file or parameter to alter? >> >I find up & down of news.daily but couldn't find anything that >> >seems like it. >> >> Log rotation is performed by "scanlogs" which is usually called by >> news.daily. >> >> If you use the "nologs" "norotate" or "notdaily" parameter on >> news.daily, the rotation isn't done. >> >> The "nologs" and "notdaily" paramters have other effects, like >> turning off analysis and reports. >> >> -- >> Bert Hyman | St. Paul, MN | bert@visi.com >> > > -- Bert Hyman | St. Paul, MN | bert@visi.com
Technical Details
Message-ID:
<8F9998049VeebleFetzer@192.61.219.6>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-mailReferences:
<Pine.GSO.4.20.0008230127420.25086-100000@ew> <8F98874E6VeebleFetzer@192.61.219.6> <Pine.GSO.4.20.0008240312430.25277-100000@ew>Show Full Headers
Complete Article Headers
Message-ID: <8F9998049VeebleFetzer@192.61.219.6> Subject: Re: log rotation on innd Date: Wed, 23 Aug 2000 00:00:00 +0000 From: bert@visi.com (Bert Hyman) References: <Pine.GSO.4.20.0008230127420.25086-100000@ew> <8F98874E6VeebleFetzer@192.61.219.6> <Pine.GSO.4.20.0008240312430.25277-100000@ew> 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: 661687764 X-Complaints-To: news@rsvl.unisys.com X-Trace: si05.rsvl.unisys.com 967062745 78809 192.61.226.23 (23 Aug 2000 20:32:25 GMT) Organization: None to speak of User-Agent: Xnews/03.08.12 NNTP-Posting-Date: 23 Aug 2000 20:32:25 GMT Newsgroups: news.software.nntp