Hey Ben,
Did you ever come up with an answer to your question below?
Thanks,
JT
Benjamin Adams wrote:
Apache 1.3.33
I have:
ErrorLog '|/usr/sbin/rotatelogs /private/var/log/httpd/
sites/domain.com/error_log.%Y%m%d 86400'
CustomLog '|/usr/sbin/rotatelogs
I would add something like this, in crontab:
find /private/var/log/httpd/sites/domain.com -name *_log.* -atime +7 -exec
-rm {} \;
Regards,
Gabriel
jtkc
Does LogRotate not work?
http://kavlon.org/index.php/logrotate
Hey Ben,
Did you ever come up with an answer to your question below?
Thanks,
JT
Benjamin Adams wrote:
Apache 1.3.33
I have:
ErrorLog '|/usr/sbin/rotatelogs /private/var/log/httpd/
sites/domain.com/error_log.%Y%m%d
Not true. You just need to be able to read/write the log files. If you
have things perm'd right it shouldn't be an issue. The link I provided
explains running logrotate without root access.
For logrotate, you need root access to setup
--
Michael McGlothlin
Southwest Plumbing Supply
AMSubject
Re: [EMAIL PROTECTED] rotatelogs clean
up
Please respond
Subject
Re: [EMAIL PROTECTED] rotatelogs clean
up
Please respond to
[EMAIL PROTECTED
That looks like a useful program, but it doesn't look like it supports AIX
5.1. I'm leaning more towards the solution that GKapitany suggested. Seems
simple enough. Thanks to both of you for your suggestions!
JT
Michael McGlothlin-2 wrote:
Does LogRotate not work?
Apache 1.3.33
I have:
ErrorLog '|/usr/sbin/rotatelogs /private/var/log/httpd/
sites/domain.com/error_log.%Y%m%d 86400'
CustomLog '|/usr/sbin/rotatelogs /private/var/log/httpd/
sites/domain.com/access_log.%Y%m%d 86400' combined
in my conf so logs are created daily.
If I want