, FreePBX Distro Asterisk . , (, , ) , . , , .


/etc/logrotate.d/asterisk. vim 45 :

[root@asterisk ~]# vim /etc/logrotate.d/asterisk

/var/log/asterisk/freepbx_dbug rotate 7 45:

/var/log/asterisk/freepbx_dbug{
        daily
        missingok
        rotate 45 //        ;
        notifempty
        compress //  compress,   ;
        sharedscripts
        create 0640 asterisk asterisk
}
!: , , . compress , c gzip

, /var/log/asterisk/freepbx_dbug daily (), rotate. , 45 . rotate , daily monthly ().

:x! + Enter - .


?

 .

P.S. , :)

"",