Re: Does Kannel log support logrotation
Alan McNatty <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
This might be useful for you ... (add to /etc/logrotate.d or similar). Note: you need to restart Kannel as it doesn't have full signal support. On Fri, 2003-01-31 at 18:18, joseph mercado wrote: > Does Kannel log support logrotation???Please advice > regarding this matter cause im running kannel-1.2.1 on > linux box 7.2 that forwards sms to a EMI2 > server.Currently all logs does'nt have rotate > mechanism........has anyone implemented this already > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com -- Alan McNatty <[email protected]>
kannel.logrotate
(text/plain, 275 B)
/var/log/kannel/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 kannel adm
sharedscripts
postrotate
/etc/init.d/kannel restart
endscript
}