Thread View: news.software.readers
12 messages
12 total messages
Started by andrew
Mon, 28 Jan 2008 21:47
[slrn] Tutorial of the Week :-)
Author: andrew
Date: Mon, 28 Jan 2008 21:47
Date: Mon, 28 Jan 2008 21:47
13 lines
1416 bytes
1416 bytes
Hi,
Could be another slrn wave of interest from Ubuntu:
http://ubuntuforums.org/showthread.php?p=4222730#post4222730
Now I really /have/ to get the syslog.conf / logrotate.conf material
written up for Leafnode 2 :-)
Andrew
--
http://www.andrews-corner.org
Re: [slrn] Tutorial of the Week :-)
Author: Troy Piggins
Date: Mon, 28 Jan 2008 22:29
Date: Mon, 28 Jan 2008 22:29
18 lines
2131 bytes
2131 bytes
* andrew is quoted & my replies are inline below : > Hi, > > Could be another slrn wave of interest from Ubuntu: > > http://ubuntuforums.org/showthread.php?p=4222730#post4222730 > > Now I really /have/ to get the syslog.conf / logrotate.conf material > written up for Leafnode 2 :-) Congratulations! That's the reward for writing such great tutorials :) -- Troy Piggins | http://piggo.com/~troy/slrn ___ | __ __ * Currently using slrn pre0.9.9-82 |___ | |/ |/ | * Try it: ___| | | | | $ svn co https://slrn.svn.sourceforge.net/svnroot/slrn/trunk slrn
Re: [slrn] Tutorial of the Week :-)
Author: Peter J Ross
Date: Mon, 28 Jan 2008 23:02
Date: Mon, 28 Jan 2008 23:02
35 lines
2632 bytes
2632 bytes
In news.software.readers on Tue, 29 Jan 2008 08:47:56 +1100, andrew <andrew@ilium.invalid> wrote: > Hi, > > Could be another slrn wave of interest from Ubuntu: > > http://ubuntuforums.org/showthread.php?p=4222730#post4222730 Congratulations. The honour is well-earned. Your next task, should you choose to accept it, is to visit tldp.org and improve the HOWTOs. E.g. the Leafnode HOWTO: <http://tldp.org/HOWTO/News-Leafsite.html>, which is so old that it specifies Leafnode 1.4 as the current version. > 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. As usual, you've mentioned me in the credits on your page, but if I were one of the other people who's commented at least as usefully as I have, I'd feel rather left out. -- PJR :-)
Re: [slrn] Tutorial of the Week :-)
Author: 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
Re: [slrn] Tutorial of the Week :-)
Author: andrew
Date: Tue, 29 Jan 2008 00:34
Date: Tue, 29 Jan 2008 00:34
20 lines
1776 bytes
1776 bytes
On 2008-01-28, Troy Piggins <usenet-0801@piggo.com> wrote:
> * andrew is quoted & my replies are inline below :
>>
>> Could be another slrn wave of interest from Ubuntu:
>>
>> http://ubuntuforums.org/showthread.php?p=4222730#post4222730
>>
>> Now I really /have/ to get the syslog.conf / logrotate.conf material
>> written up for Leafnode 2 :-)
>
> Congratulations! That's the reward for writing such great
> tutorials :)
Thanks! It was a great feeling when I saw my work given a little
recognition!
Andrew
--
http://www.andrews-corner.org
Re: [slrn] Tutorial of the Week :-)
Author: Thomas Wiegner
Date: Tue, 29 Jan 2008 07:43
Date: Tue, 29 Jan 2008 07:43
29 lines
1904 bytes
1904 bytes
On 2008-01-28, andrew <andrew@ilium.invalid> wrote: > Could be another slrn wave of interest from Ubuntu: > > http://ubuntuforums.org/showthread.php?p=4222730#post4222730 Congratulations. BTW, I saw that you link in you slrn tutorial http://ubuntuforums.org/showthread.php?t=475246 to my ubuntu package. I'm not sure what can be changed in your tutorial, because of it being posted in a forum, but I think it would be better to link http://www.foory.de/thw/slrn/ rather than http://www.foory.de/thw/slrn/slrn-0.9.9/slrn_0.9.9~pre69-2_gutsy_i386.deb because a direct link will only work as long as the next development release will made. The slrn-0.9.9 subdirectory doesn't exist anymore either. Cheers, Thomas
Re: [slrn] Tutorial of the Week :-)
Author: andrew
Date: Tue, 29 Jan 2008 09:30
Date: Tue, 29 Jan 2008 09:30
28 lines
1917 bytes
1917 bytes
On 2008-01-29, Thomas Wiegner <wiegner@gmx.de> wrote: [...] > BTW, I saw that you link in you slrn tutorial > > http://ubuntuforums.org/showthread.php?t=475246 > > to my ubuntu package. I'm not sure what can be changed in your tutorial, > because of it being posted in a forum, but I think it would be better to link > > http://www.foory.de/thw/slrn/ > > rather than > > http://www.foory.de/thw/slrn/slrn-0.9.9/slrn_0.9.9~pre69-2_gutsy_i386.deb Actually that link looks as if it was inadvertently removed in a recent cleanout, for which my apologies. I have reinstated the link and pointed it as you have suggested. Regards, Andrew -- http://www.andrews-corner.org
Re: [slrn] Tutorial of the Week :-)
Author: andrew
Date: Tue, 29 Jan 2008 09:35
Date: Tue, 29 Jan 2008 09:35
22 lines
1880 bytes
1880 bytes
On 2008-01-29, andrew <andrew@ilium.invalid> wrote:
> On 2008-01-29, Thomas Wiegner <wiegner@gmx.de> wrote:
[...]
>> http://www.foory.de/thw/slrn/
>>
>> rather than
>>
>> http://www.foory.de/thw/slrn/slrn-0.9.9/slrn_0.9.9~pre69-2_gutsy_i386.deb
>
> Actually that link looks as if it was inadvertently removed in a
> recent cleanout, for which my apologies. I have reinstated the link
> and pointed it as you have suggested.
Oops! Now I see what you mean: in one of the answers to a question a
little further down. I have corrected this as well.
Andrew
--
http://www.andrews-corner.org
Re: [slrn] Tutorial of the Week :-)
Author: Thomas Wiegner
Date: Tue, 29 Jan 2008 11:31
Date: Tue, 29 Jan 2008 11:31
21 lines
1979 bytes
1979 bytes
On 2008-01-29, andrew <andrew@ilium.invalid> wrote: >>> http://www.foory.de/thw/slrn/slrn-0.9.9/slrn_0.9.9~pre69-2_gutsy_i386.deb >> >> Actually that link looks as if it was inadvertently removed in a >> recent cleanout, for which my apologies. I have reinstated the link >> and pointed it as you have suggested. > > Oops! Now I see what you mean: in one of the answers to a question a > little further down. I have corrected this as well. OK, thanks for correcting that. Anyway, I'll take a look at my logs to see how many missed hits due to this link happened. I guess it will be less than 10. Cheers, Thomas -- slrn packages for ubuntu: http://www.foory.de/thw/slrn/
Re: [slrn] Tutorial of the Week :-)
Author: Peter J Ross
Date: Wed, 30 Jan 2008 13:07
Date: Wed, 30 Jan 2008 13:07
52 lines
2376 bytes
2376 bytes
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:
#v+
/var/log/news/news.crit {
daily
rotate 5
compress
missingok
}
/var/log/news/news.err {
daily
rotate 5
compress
missingok
}
/var/log/news/news.notice {
daily
rotate 5
compress
missingok
}
#v-
I'm using this in /etc/syslog.conf:
#v+
/var/log/news/* {
daily
missingok
rotate 10
compress
delaycompress
notifempty
}
#v-
--
PJR :-)
Re: [slrn] Tutorial of the Week :-)
Author: 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
Re: [slrn] Tutorial of the Week :-)
Author: 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 :-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads