We have a relatively small OS array on our system, so I was going through and enabling compression for the various logs, as they take up a ton of space when uncompressed (especially Zulu). I know that this is a newbie question and not particularly complicated, but I was looking for some confirmation before I just let 'er rip.
For the /var/log/asterisk/full log, to enable compression and retain the other default settings, I presume I can just change this line in /etc/logrotate.d/asterisk:
/var/log/asterisk/full
to this:
/var/log/asterisk/full {
compress
}
Then compress the existing rotated logs to ensure they are deleted properly.