[OpenSIPS-Users] Opensips Logrotate

sergio sergio at inbox.com
Sun Dec 12 04:36:34 CET 2010


Hello list

Does anyone have any suggestions to rotate the log OpenSIPS. My log file is over 7GB

I am setting up logrotate

I'm worried about the reload I've noticed is the OpenSIPS restart.

/etc/logrotate.d/opensips

/var/log/opensips.log {
    missingok
    notifempty
    sharedscripts
    postrotate
        /sbin/service opensips reload > /dev/null 2>/dev/null || true
    endscript
}

Thanks



More information about the Users mailing list