My system is Debian with Apache 2.22
I'm trying to rotate my logs with rotatelogs. The format in the logfile works but the rotation is not working.
Part of the apache2.conf
LogFormat "%h %t %m %U %q %>s %B \"%{Referer}i\"" custom
CustomLog "|/usr/sbin/rotatelogs /var/log/apache2/access_log 60" custom
Any mistakes here?
Thank you in advance.