FOOD FOR THOUGHT freepbx_dbug/freepbx_debug logs

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
should we add them to /etc/logrotate.d/asterisk?

-rwxrwxr-x 1 asterisk asterisk 720920 Sep 13 08:10 freepbx_dbug
-rwxrwxr-x 1 asterisk asterisk 1132 Sep 6 19:55 freepbx_debug
nothing rotates them :(
 

lrosenman

Guru
Joined
Oct 17, 2014
Messages
221
Reaction score
30
Here's an update /etc/logrotate.d/asterisk that handles this.
 

Attachments

  • asterisk.txt
    905 bytes · Views: 5

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Thanks. For those that already have patched their systems through Automatic Update Utility, just remove the last update, and then log out and back in again.

Code:
ls -1 /etc/pbx/.u*
chattr -i /etc/pbx/.updateSOMETHING
rm /etc/pbx/.updateSOMETHING
 

Members online

No members online now.

Forum statistics

Threads
25,781
Messages
167,507
Members
19,201
Latest member
troutpocket
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top