Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
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

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
AMSubject Re: [EMAIL PROTECTED] rotatelogs clean up Please respond

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
Subject Re: [EMAIL PROTECTED] rotatelogs clean up Please respond to [EMAIL PROTECTED

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
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?

[EMAIL PROTECTED] rotatelogs clean up

2006-04-03 Thread Benjamin Adams
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