Greetings! Every day logfiles /var/log/asterisk/full and /var/log/asterisk/message grows up to 10 Mbyte. Most of information is like pasted bellow:
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
[2021-11-26 06:48:14] WARNING[12060][C-00000267] chan_sip.c: Can't send 10 type frames with SIP write
and
[2021-11-26 07:14:49] VERBOSE[13516] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:50] VERBOSE[2389] asterisk.c: Remote UNIX connection
[2021-11-26 07:14:50] VERBOSE[13610] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:50] VERBOSE[2389] asterisk.c: Remote UNIX connection
[2021-11-26 07:14:50] VERBOSE[13615] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:50] VERBOSE[2389] asterisk.c: Remote UNIX connection
[2021-11-26 07:14:50] VERBOSE[13712] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:50] VERBOSE[2389] asterisk.c: Remote UNIX connection
[2021-11-26 07:14:50] VERBOSE[13717] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:59] VERBOSE[2389] asterisk.c: Remote UNIX connection
[2021-11-26 07:14:59] VERBOSE[13812] asterisk.c: Remote UNIX connection disconnected
[2021-11-26 07:14:59] VERBOSE[2389] asterisk.c: Remote UNIX connection
There are some questions:
1. How to set the log rotation for a week shedule?
2. Or how to decrease size of unuseful information?
Thanks in advance!