logrotate:   

      ,  -  
    ,   .  logrotate  -
     (  ), 
     (. ), ,     ,
   ,   .  logrotate  
/etc/logrotate.conf,        -
  .    logrotate. conf   -
 (include),       
/etc/logrotate.d.      logrotate. conf:

$ cat /etc/logrotate.conf

t see "man logrotate" for details
( .  "man logrotate")

# rotate log files weekly

(   }
weekly

# keep 4 weeks worth of backlogs

(   4 )
rotate 4

# create new (empty) log files after rotating old ones

(  ()    )
create

# uncomment this if you want your log files compressed

(     )
fcompress

t RPM packages drop log rotation information into this directory

(RPM-        )
include /etc/logrotate.d

# no packages own wtmp -- we'll rotate them here

(     wtmp    )
/var/log/wtmp {

monthly

create 0664 root utmp

rotate 1
}

t system-specific logs may be also be configured here.
(     )

 logrotate. conf      
.   logrotate        -
,    .    
 (daily),  (weekly)   (monthly).   
 rotate      .  -

564                                        IV.  