[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Confusion on log rotating

I would like most if not all of my logs to contain just the current day data and then archive them compressed for 7 days back.

To give an example:

syslog = today

syslog.0 = yesterday
syslog.6 = a week ago

and then erase the older than .6

I must confess that the logrotate stuff got me totally lost :(

Any help please ?


Reply to: