Article View: news.software.readers
Article #216158Re: [slrn] Tutorial of the Week :-)
From: Peter J Ross
Date: Wed, 30 Jan 2008 19:40
Date: Wed, 30 Jan 2008 19:40
40 lines
2634 bytes
2634 bytes
In news.software.readers on Thu, 31 Jan 2008 00:49:50 +1100, andrew
<andrew@ilium.invalid> wrote:
> In the logrotate.conf for the howto I came up with similar but
> different:
>
> /var/log/news/* {
> weekly
> rotate 4
> olddir /var/log/news/oldnews
> missingok
> postrotate
> kill -1 `cat /var/run/syslogd.pid`
> endscript
> compress
>}
You could add "sharedscripts" and "notifempty".
> I quite like the separate directory for the compressed files.
So do I; I'll start using it.
> I was not sure of daily or weekly for rotation but I might
> appropriate your idea there as the news.info file in particular
> grows at an alarming rate :-)
You could use "size" instead of either "daily" or "weekly".
> As you can see I have added all this into a section 'Logging for
> Leafnode' hopefully it has not become too complex.
It looks quite clear to me.
> Thanks again for your advice,
Thanks for encouraging me to read more about logrotate.
--
PJR :-)
Technical Details
Message-ID:
<slrnfq1klm.efs.pjr@pjr.gotdns.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out03a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mailReferences:
<20080129084515@ilium.andrews-corner.org> <slrnfpsnno.nkl.pjr@pjr.gotdns.org> <20080129112525@ilium.andrews-corner.org> <slrnfq0tl9.cno.pjr@pjr.gotdns.org> <20080131003540@ilium.andrews-corner.org>Show Full Headers
Complete Article Headers
Message-ID: <slrnfq1klm.efs.pjr@pjr.gotdns.org> Subject: Re: [slrn] Tutorial of the Week :-) Date: Wed, 30 Jan 2008 19:40:38 +0000 From: Peter J Ross <pjr@example.invalid> References: <20080129084515@ilium.andrews-corner.org> <slrnfpsnno.nkl.pjr@pjr.gotdns.org> <20080129112525@ilium.andrews-corner.org> <slrnfq0tl9.cno.pjr@pjr.gotdns.org> <20080131003540@ilium.andrews-corner.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out03a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 40 Reply-To: Peter J Ross <pjr.spam@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/mB3p1BGhYcawJVf4QhFSpgg4MdF9TeA+2ZioLyiWR2WuL1XS1UdPkYrLdg+eOKyF37mi1fqlOkJXN6c01iSenfAwUgtPrbZE3hR8w7edTkAl6YbXJM6N70HfW8V1zqwE= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 30 Jan 2008 19:50:03 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18t/I5jDP5YMoIsq8jhQWaW Cancel-Lock: sha1:ZSCnglltTdwwCS9y5aowCVyO9Ds= User-Agent: slrn/pre0.9.9-82 (Linux)