| 1 |
# you can define your own APACHE2_LOGS regex in an earlier file, |
| 2 |
# overriding the defaults given here |
| 3 |
@@if not defined APACHE2_LOGS |
| 4 |
@@if defined APACHE2_SUEXEC |
| 5 |
@@define APACHE2_LOGS (access|error|suexec) |
| 6 |
@@else |
| 7 |
@@define APACHE2_LOGS (access|error) |
| 8 |
@@endif |
| 9 |
@@endif |
| 10 |
# /var/log/apache2: |
| 11 |
# logrotate, daily, rotate 14, compress, delaycompress, create, missingok |
| 12 |
/var/log/apache2/@@{APACHE2_LOGS}\\.log$ f ActLog |
| 13 |
/var/log/apache2/@@{APACHE2_LOGS}\\.log\\.1$ f RotLog |
| 14 |
/var/log/apache2/@@{APACHE2_LOGS}\\.log\\.2\\.@@{LOGEXT}$ f CompSerLog |
| 15 |
/var/log/apache2/@@{APACHE2_LOGS}\\.log\\.([3-9]|1[0-3])\\.@@{LOGEXT}$ f MidlSerLog |
| 16 |
/var/log/apache2/@@{APACHE2_LOGS}\\.log\\.14\\.@@{LOGEXT}$ f LastSerLog |
| 17 |
|
| 18 |
/@@{RUN}/apache2/apache2\\.pid$ f VarFile |
| 19 |
/@@{RUN}/apache2/ssl_scache$ f VarFile |
| 20 |
/var/log/apache2$ d VarDir |
| 21 |
/@@{RUN}/apache2(/socks)?$ d RecreatedDir |