G
++good
Guest
I'm a plesk newbie, using 7.5.3. I have setup logrotation for all my domains (daily, keep 7, and compress) and made sure that they are enabled. However, the log files are not being rotated.
All the files in /usr/local/psa/etc/logrotate.d look like the sample below (except for the domain name). I tried running /usr/local/psa/logrotate/sbin/logrotate -d on one of the conf files, I got this error:
log /home/httpd/vhosts/domain/statistics/logs/*.processed does not exist -- skipping
Ok, the log files are /home/httpd/vhosts/domain/statistics/logs/access_log
This is the file name the domain httpd.conf file uses and plesk is the one that genereated the httpd.conf files.
I am kinda stumped. Can anyone point my in the right direction?
Thanks,
Marcus
/home/httpd/vhosts/domain/statistics/logs/*.processed {
daily
rotate 7
compress
missingok
}
/home/httpd/vhosts/domain/statistics/logs/error_log {
daily
rotate 7
compress
missingok
copytruncate
}
/home/httpd/vhosts/domain/statistics/logs/error_ssl_log {
daily
rotate 7
compress
missingok
copytruncate
}
All the files in /usr/local/psa/etc/logrotate.d look like the sample below (except for the domain name). I tried running /usr/local/psa/logrotate/sbin/logrotate -d on one of the conf files, I got this error:
log /home/httpd/vhosts/domain/statistics/logs/*.processed does not exist -- skipping
Ok, the log files are /home/httpd/vhosts/domain/statistics/logs/access_log
This is the file name the domain httpd.conf file uses and plesk is the one that genereated the httpd.conf files.
I am kinda stumped. Can anyone point my in the right direction?
Thanks,
Marcus
/home/httpd/vhosts/domain/statistics/logs/*.processed {
daily
rotate 7
compress
missingok
}
/home/httpd/vhosts/domain/statistics/logs/error_log {
daily
rotate 7
compress
missingok
copytruncate
}
/home/httpd/vhosts/domain/statistics/logs/error_ssl_log {
daily
rotate 7
compress
missingok
copytruncate
}