SOURCES: logrotate.conf - do log rotation daily and keep 2 weeks.

Pawel Golaszewski blues at pld-linux.org
Tue Dec 25 13:21:38 CET 2007


On Mon, 24 Dec 2007, Jakub Bogusz wrote:
> > > > Author: blues                        Date: Mon Dec 24 12:34:17 2007 GMT
> > > > Module: SOURCES                       Tag: HEAD
> > > > ---- Log message:
> > > > - do log rotation daily and keep 2 weeks.
> > > It's too short period :-(
> > First of all - where's rationale for this change?

Few things:
- it's easier to compress 5MB file than 35MB. This is significant on 
  desktops, but on server systems could be too.
- each day is one file. simple.
- many services are producing a lot of logs and that was why glen has 
  started putting different settings to each rotate file. I don't think 
  it's good solution.

I won't fight for that setting but lets talt about them...

> > This was PLD default for a long time,

...we should consider changing it :)

> > > 2 months would be great, 1 month is +- ok but 2 weeks it too short.
> > And daily is too frequent for ordinary (i.e. using defaults) system.
> Agreed.

And I don't.

> logrotate's default is rotate 4 weekly.

There is many other defaults we don't follow ;)

> Replacing it distribution-wide with significantly different private 
> configuration without strong rationale is not acceptable.

It's not my private config.


P.S.: Merry Christmas, ho-ho-ho ;)

-- 
pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
--------------------------------------------------------------------------
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.


More information about the pld-devel-en mailing list