Re: [asterisk-ss7] MTP3d logrotate

2016-12-15 Thread Rafael dos Santos Saraiva
Hi Abdul After truncate the file is recovered by the daemon with the same size as before, i guess the way of the mtp3d writes file precludes the truncate. My idea was to store the mtp3d and pcap generated by logrotate, but these limitations will make me change my mind. So, thanks 2016-12-05 11:0

Re: [asterisk-ss7] MTP3d logrotate

2016-12-05 Thread Bedio Soro
good well done. 2016-12-05 22:08 GMT+09:00 Abdul Basit : > use copytruncate in logrotate scriopt > https://www.jamescoyle.net/cheat-sheets/676-logrotate-cheat-sheet > > The *copytruncate* keyword copies all the log in the file to a new file > and then truncates the original file. This keeps the o

Re: [asterisk-ss7] MTP3d logrotate

2016-12-05 Thread Abdul Basit
use copytruncate in logrotate scriopt https://www.jamescoyle.net/cheat-sheets/676-logrotate-cheat-sheet The *copytruncate* keyword copies all the log in the file to a new file and then truncates the original file. This keeps the original log file in place and also allows rotation to continue. /va

[asterisk-ss7] MTP3d logrotate

2016-12-02 Thread Rafael dos Santos Saraiva
Hi Is it possible using logrotate with mtp3d files (/var/log/mtp3d.log and /tmp/mtp3d.pcap). I tried do, but when logrotate generate/clean file, the mtp3d service stops logging. Another question, is the very big size of logs the reason to problems on services(stops signalling traffic without any e