Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] compressing logs



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
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets
-------------
Go to <http://summary.net/list.html> to update subscription info.