Article View: news.software.readers
Article #216141Re: [slrn] Tutorial of the Week :-)
From: andrew
Date: Wed, 30 Jan 2008 13:49
Date: Wed, 30 Jan 2008 13:49
63 lines
3139 bytes
3139 bytes
On 2008-01-30, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Tue, 29 Jan 2008 11:33:11 +1100, andrew
><andrew@ilium.invalid> wrote:
>
><...>
>
>> I would dearly like to make my Slackware settings work in Ubuntu but
>> not if there is industrial editing required to the Ubuntu syslog.conf,
>> in which case I will install leafnode 1 as you suggest and see what is
>> done there.
>
> Or just download the .deb and see what files it adds or changes.
>
> The Debian stable package adds a file, /etc/logrotate.d/leafnode:
I eventually found that but I will admit to many hours of pounding my
head into the desk wondering why logrotate was complaining about
logging the same file twice.. This is obviously part of the detritus
left behind when I uninstalled the repository version.
In the Ubuntu 'Howto' I added a brief note of this 'problem' and a
single line to move the file to the Desktop.
> I'm using this in /etc/syslog.conf:
>
> #v+
> /var/log/news/* {
> daily
> missingok
> rotate 10
> compress
> delaycompress
> notifempty
> }
> #v-
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
}
I quite like the separate directory for the compressed files. 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 :-)
As you can see I have added all this into a section 'Logging for
Leafnode' hopefully it has not become too complex.
Thanks again for your advice,
Andrew
--
http://www.andrews-corner.org
Technical Details
Message-ID:
<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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!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>Show Full Headers
Complete Article Headers
Message-ID: <20080131003540@ilium.andrews-corner.org> Subject: Re: [slrn] Tutorial of the Week :-) Date: Thu, 31 Jan 2008 00:49:50 +1100 From: andrew <andrew@ilium.invalid> References: <20080129084515@ilium.andrews-corner.org> <slrnfpsnno.nkl.pjr@pjr.gotdns.org> <20080129112525@ilium.andrews-corner.org> <slrnfq0tl9.cno.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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: slrn Mafia Lines: 63 Reply-To: usenet.andrew@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net ZsXMEYa5ReL9ngIhkjrl1AxK6jyAu/iMzg/LSy9jEiMMywPsW+ X-Orig-Path: ilium.andrews-corner.org!not-for-mail Cancel-Lock: sha1:450zMdutJmSR4WuYwOxGrn/2VN8= X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) User-Agent: slrn/pre0.9.9-82/mm (Linux)