Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2002 20:38:14 +0100
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        alexus <ml@db.nexgen.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: newsyslog/rotatelog
Message-ID:  <3C83CD26.F36026B2@cs.umu.se>
References:  <000701c1c30d$b50ec600$faa0b542@noc> <3C832FD4.D7B631A1@cs.umu.se> <001101c1c3b2$0782eb60$0d00a8c0@alexus>

next in thread | previous in thread | raw e-mail | index | archive | help
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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C83CD26.F36026B2>