I am trying to fix an issue where an apache log is filling the /var/log/ partition. It is a single log in apache2 that is almost 4GB. I have set logrotate to rotate out at 3G, but it has not rotated the log. Additionally, the logrotate looks like this at the top,
/var/log/apache2/*.log
which seems to imply it will only rotate .log files. The logs in apache2 are sitename.org, with no .log following it. Is this normal behavior/is it why the logs are not rotating properly? There are logs called sitename.org-error.log, and compressed versions of those, but I honestly don't know enough about how apache does logs to know if those are separate logs from the large file taking up the partition.