Re: MTP3d logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



good well done.

2016-12-05 22:08 GMT+09:00 Abdul Basit <basit.engg@xxxxxxxxx>:
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.

/var/log/myapp/*.log {
  size 10k
  weekly
  rotate 8
  copytruncate
}

Are you continuously generating .pcap?

--
regards,

abdul basit | p: +92 32 1416 4196 | o: +92 30 0841 1445

On Fri, Dec 2, 2016 at 4:48 PM, Rafael dos Santos Saraiva <rafaelsnsa@xxxxxxxxx> wrote:
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 error indication).

Thanks



Rafael S. Saraiva


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-ss7 mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-ss7

[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux