Article View: news.software.readers
Article #216031Re: [slrn] Tutorial of the Week :-)
From: andrew
Date: Tue, 29 Jan 2008 00:33
Date: Tue, 29 Jan 2008 00:33
58 lines
3075 bytes
3075 bytes
On 2008-01-28, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Tue, 29 Jan 2008 08:47:56 +1100, andrew
><andrew@ilium.invalid> wrote:
[...]
>> Now I really /have/ to get the syslog.conf / logrotate.conf material
>> written up for Leafnode 2 :-)
>
> What does Ubuntu have by default for news.* in syslog.conf? As long as
> at least news.err is present, I don't think there's any need to
> confuse new users by mentioning logging at all.
>
> Your ideas about logging are different from mine, so perhaps the best
> thing to do is to see what the Ubuntu package for Leafnode 1 does to
> syslog.conf and/or cron, and recommend the same for the Leafnode 2
> installation.
Well, I have probably come close to your thoughts and have set up the
following on my SLackware partition. In syslog.conf:
news.=crit -/var/log/news/news.crit
news.=err -/var/log/news/news.err
news.notice -/var/log/news/news.notice
news.info -/var/log/news/news.info
and in logrotate.conf:
# Logging rules for leafnode:
/var/log/news/* {
weekly
rotate 4
olddir /var/log/news/old
missingok
postrotate
kill -1 `cat /var/run/syslogd.pid`
endscript
compress
}
Which runs very smoothly in Slackware 12 but Ubuntu is more of a
problem as the /etc/syslog.conf file is choked with a morass of
'catch-all' logging and the introduction of new logging seems to
confuse logrotate.
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.
Thanks for the congrats, I was /very/ happy to pick up some
recognition from the Ubuntu Forums :-)
Andrew
--
http://www.andrews-corner.org
Technical Details
Message-ID:
<20080129112525@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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<20080129084515@ilium.andrews-corner.org> <slrnfpsnno.nkl.pjr@pjr.gotdns.org>Show Full Headers
Complete Article Headers
Message-ID: <20080129112525@ilium.andrews-corner.org> Subject: Re: [slrn] Tutorial of the Week :-) Date: Tue, 29 Jan 2008 11:33:11 +1100 From: andrew <andrew@ilium.invalid> References: <20080129084515@ilium.andrews-corner.org> <slrnfpsnno.nkl.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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: slrn Mafia Lines: 58 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 y4VZ5DhDfF4tjROsl71UEQ9oIxQcC3qrlzR/0x6mnrxDAcw7H7 X-Orig-Path: ilium.andrews-corner.org!not-for-mail Cancel-Lock: sha1:LA/wi9mCH7kSW07MkuWdMjohSB8= X-NNTP-Proxy: Leafnode-2 (http://www-dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/) User-Agent: slrn/pre0.9.9-82 (Linux)