logrotate
logrotate is designed to ease administration of systems that generate large numbers of log files.

logrotate
logrotate [DIRECTIVES]
compress
compresscmd
uncompresscmd
compressext
compressoptions
copy
copytruncate
create mode owner group , create owner group
createolddir mode owner group
daily
dateext
dateformat format_string
dateyesterday
logrotate [DIRECTIVES]
datehourago
delaycompress
extension ext
hourly
addextension ext
ifempty
include file or directory
mail address
mailfirst
maillast
minage count
maxage count
maxsize size
logrotate [DIRECTIVES]
minsize size
missingok
monthly
nocompress
nocopy
nocopytruncate
nocreate
nocreateolddir
nodelaycompress
nodateext
nomail
nomissingok
noolddir
nosharedscripts
logrotate [DIRECTIVES]
noshred
notifempty
olddir directory
postrotate/endscript
prerotate/endscript
firstaction/endscript
lastaction/endscript
preremove/endscript
rotate count
renamecopy
size size
sharedscripts
shred
logrotate [DIRECTIVES]
shredcycles count
start count
su user group
tabooext [+] list
taboopat [+] list
weekly [weekday]
yearly