Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Summary-Talk] compressing logs
MacGzip is applescriptable. We wrote a rolling script for our machines to roll + .gz logs once a week. - John >On 1/21/04 3:26 PM Karl Schroll (schroll@digitalfrontier.com) wrote: > >>I run WebStar V and my log files are all getting quite large. I >>would like a utility to compress the archives into gzip or something >>else that Summary can read. Is there any utility that will allow me >>to do that on a regular schedule, such as right after Webstar rolls >>the logs at the end of the month. > >Summary will read logs compressed with GZip, Zip, or BZip2. > >Most log archiving systems support log compression directly. >Unfortunately the one that is built into WebSTAR does not, so you are >going to need to find or write a script of some kind. GZip support is >available from the command line in OS X (and Linux and Sun), using the >gzip command, so it should be reasonably simple to setup a shell script >run by cron that compresses the rotated log files. Alternative log >archiving systems that are easier to use and which support compression >and work with WebSTAR might exist, they did for WebSTAR 4.x, but I don't >personally know of any for WebSTAR V. > >Jason > >----------------- >Jason@Summary.Net >----------------- -- ------------------------------------------------------------------- John May : President <http://www.pointinspace.com> Point In Space Internet Solutions jmay@pointinspace.com LPA Corporate Partner / FSA Associate / ACN Member Professional Lasso / PHP / MySQL / FileMaker Pro Hosting ------------- Go to <http://summary.net/list.html> to update subscription info.
|