| schalkc on Thu, 2 Dec 1999 13:31:16 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: GLUG: gzipping logs |
Wayne Pascoe skrywe: > Hi all... > > Apache (and other things) output to a log file... Near as I know, this is > just a pipe. Is there any way to automagically gzip this as it happens? > Ie, write data to gzip which writes data to end of log file? If you have logrotate installed you can edit /etc/logrotate.d/apache. For instance: You can set the rotation interval and then gzip the oldest log before mailing it to sysadmin. -- Schalk W. Cronje : Why do drive-through, Ntaba Environmental Services : teller machines have braille Cell: 083-279-7047 : on the keypads? && msg originated SqWebMail on mail.ntaba.co.za