Hello,

Tomas Volf <~@wolfsden.cz> writes:

> I have to admit I just do not fully get the thought process behind the
> current design, so I wanted the option of "keep X old" to work around my
> ignorance. :) Right now, the initial rotation is based on *size*, but
> the number of kept old files is based on *age*.  Would you be able to
> shed some light on why did you go in this direction?  Honestly my
> expectation would be that size (for old files cumulative) would be used
> for both.

Well, my thought was: I want to rotate files periodically (so they don’t
become too big and consume too much space) and I want to get rid of old
logs (again to save space).

Looking at the timestamp of a previously-rotated file lets you know if
it’s “old”, so I thought it would make a good input.

That’s it.

I realize it’s different from what rottlog and other historical tools
do, but I thought it was good enough to fulfill these two needs
(rotate/compress and expire).  And I thought that as a user I don’t
really care how compression and expiration are implemented.

I hope that makes some sense.  :-)

Ludo’.

Reply via email to