🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Lim Kean Meng Tue, 22 Aug 2000 17:32
log rotation on innd
#48044
Author: Lim Kean Meng
Date: Tue, 22 Aug 2000 17:32
11 lines
973 bytes
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.
Pls help.


--kean meng


Re: log rotation on innd
#48037
Author: Bert Hyman
Date: Tue, 22 Aug 2000 00:00
21 lines
1366 bytes
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

Re: log rotation on innd
#48047
Author: Bert Hyman
Date: Wed, 23 Aug 2000 00:00
24 lines
1607 bytes
rra@stanford.edu (Russ Allbery) wrote in
<yl1yzfd86f.fsf@windlord.stanford.edu>: 

>Lim Kean Meng <kmlim@mimos.my> writes:
>
>> 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?
>
>In inn.conf.  The parameter logcycles.
>
Oooog... It occurs to me that I may have misunderstood the original
question. 

If you want to keep 30 individual log files, each having one days
logging information, the method mentioned here is correct, not the
stuff I wrote in my previous messages. 

If you do what I said in MY messages, you'll end up with one GIANT
logfile containing logging information for 30 days. 

-- 
Bert Hyman | St. Paul, MN | bert@visi.com

Re: log rotation on innd
#48057
Author: Russ Allbery
Date: Wed, 23 Aug 2000 00:00
11 lines
1048 bytes
Lim Kean Meng <kmlim@mimos.my> writes:

> 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?

In inn.conf.  The parameter logcycles.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: log rotation on innd
#48062
Author: Bert Hyman
Date: Wed, 23 Aug 2000 00:00
44 lines
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

Re: log rotation on innd
#48067
Author: Lim Kean Meng
Date: Wed, 23 Aug 2000 19:14
30 lines
1736 bytes
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?


--kean meng

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
> 

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