Not 100% sure what this thing is even logging or why I cant rotate the log. Ive been getting hourly emails telling me that the file system is over 75% full and started digging around. I got rid of most of a gb worth of old stuff in /var/lib/system-upgrade and now I’m looking at /var/log/asterisk
The log rotate conf for that log doesn’t make a whole lot of sense to me. Its certainly not respecting the size limit of 50M and the permissions it’s assigning don’t jive with what I’m being told when I try to run logrotate -d in putty (owner needs to be root and permissions need to be either 0644 or 0444). Fixing those things manually still doesn’t allow me to rotate the log, says the file is too big.
create 0640 asterisk asterisk
su asterisk asterisk
/usr/sbin/fwconsole pm2 --reload-logs -q
Where can I modify what’s actually being logged here?
PBX Firmware: 12.7.6-1904-1.sng7
Current Asterisk Version: 13.22.0