# # This file can be used to rotate the apache config files. # Make sure this logfiles exist on your system. # On an OpenSuSE distribution you just have to move this file # to /etc/logrotate.d/ to enable the log rotating. # # PLEASE CHECK: # - that the user/group is the same as on your system: we use olat/www # - that the apache command is correct: we use /etc/inid.apache2 # # 16.08.2006 (fg) @log.dir@/mod_jk.log.txt { compress dateext rotate 99 daily notifempty missingok create 644 olat www postrotate /etc/init.d/apache2 reload endscript } @log.dir@/apache_error.log { compress dateext rotate 99 daily notifempty missingok create 644 olat www postrotate /etc/init.d/apache2 reload endscript } @log.dir@/apache_error_ssl.log { compress dateext rotate 99 daily notifempty missingok create 644 olat www postrotate /etc/init.d/apache2 reload endscript } @log.dir@/apache_access_ssl.log { compress dateext rotate 99 daily notifempty missingok create 644 olat www postrotate /etc/init.d/apache2 reload endscript }