From owner-freebsd-questions Mon Mar 4 12:16:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from thematrix.bebouwde.com (e103092.upc-e.chello.nl [213.93.103.92]) by hub.freebsd.org (Postfix) with SMTP id 9DEDC37B400 for ; Mon, 4 Mar 2002 12:16:26 -0800 (PST) Received: (qmail 92033 invoked from network); 4 Mar 2002 20:16:32 -0000 Received: from unknown (HELO neo.bebouwde.com) (192.168.0.3) by 0 with SMTP; 4 Mar 2002 20:16:32 -0000 Date: Mon, 4 Mar 2002 21:17:18 +0100 From: Michel Weenink X-Mailer: The Bat! (v1.53d) Business Reply-To: Michel Weenink X-Priority: 3 (Normal) Message-ID: <8834995732.20020304211718@Weenink.com> To: "alexus" Cc: freebsd-questions@FreeBSD.ORG Subject: Re[2]: newsyslog/rotatelog In-Reply-To: <000901c1c3b6$f1011a10$0d00a8c0@alexus> References: <000701c1c30d$b50ec600$faa0b542@noc> <3C832FD4.D7B631A1@cs.umu.se> <001101c1c3b2$0782eb60$0d00a8c0@alexus> <3C83CD26.F36026B2@cs.umu.se> <000901c1c3b6$f1011a10$0d00a8c0@alexus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello alexus, What if you use some sort of monthly cron job that runs a shellscript a little better than: apachectl stop tar -zcvf /backup/accesslog`date`.tgz /path/to/httpd-access.log cp dev/null /path/to/httpd-access.log apachectl start Would that help? Kind regards, Michel Monday, March 04, 2002, 8:58:23 PM, you wrote: a> hell no, i'm not going back to rotatelog:)) i'll stick with cronolog, i a> think it can make same file i just can't figure out how to compress old a> logs.. other then that i'm good to go.. a> ----- Original Message ----- a> From: "Paul Everlund" a> To: "alexus" a> Cc: a> Sent: Monday, March 04, 2002 2:38 PM a> Subject: Re: newsyslog/rotatelog >> alexus wrote: >> > >> > can it compress old logs? and keep same file name of logs? so i >> > can put webalizer in crontab and point in one directory? and same >> > file which will never change? just like newsyslog does, old files >> > renames and compresses and new file still there under same file- >> > name. >> >> I guess it can't. Cronolog just organizes the log-files in a neat >> way, with human readable dates. I guess you have read the web-page >> and so you know it can't do all the things you are asking for. :-) >> The only other thing I can come up with is to use rotatelogs and >> write your own script for handling the compression, renaming and >> so on, and then put that into crontab. :-) >> >> Best regards, >> Paul >> a> To Unsubscribe: send mail to majordomo@FreeBSD.org a> with "unsubscribe freebsd-questions" in the body of the message -- Michel Weenink - Phone: +31 24 3607 665 - ICQ: 21018820 E-mail : Michel@Weenink.com - WWW: www.weenink.com I drink therefore I am twice To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message