here is a simple script for logrotate:

/var/log/kannel/*.log {
    daily
    missingok
    rotate 365
    compress
    delaycompress
    notifempty
    create 640 kannel adm
    sharedscripts
    postrotate
        killall -HUP bearerbox smsbox wapbox > /dev/null 2> /dev/null ||
true
    endscript
}



2013/5/24 Singularnet <[email protected]>

> You can delete the log file without breaking the installation, however i
> recommend the logrotate script that come in the user guide in order to
> optimize space
> On May 24, 2013 9:35 AM, "BMan" <[email protected]> wrote:
>
>> Hello guys, I have Kannel running successfully for over a year. We have
>> built up a 1 Gig smpp.log file and I need to create a little extra space on
>> the SMSC. What log files am I safe deleting to achieve the goal of more
>> disk space, and NOT breaking the install.
>>
>> Thanks everyone in advance
>> Bryan
>>
>

Reply via email to