httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plüm, Rüdiger, VF-Group" <ruediger.pl...@vodafone.com>
Subject RE: Using gzip and CustomLog
Date Wed, 21 Jan 2009 10:56:49 GMT
Have you tried

CustomLog "|/bin/sh \"gzip -c >>/home/mydir/apache/logs/mydomain.com-access_log.gz\""
combined

?

Regards

Rüdiger

> -----Original Message-----
> From: Paras Fadte  
> Sent: Mittwoch, 21. Januar 2009 07:09
> To: dev@httpd.apache.org
> Subject: Using gzip and CustomLog
> 
> Hi ,
> 
> Does something like following work in Apache/2.0.55 ?
> 
> CustomLog "|/bin/gzip  -c
> >>/home/mydir/apache/logs/mydomain.com-access_log.gz" combined
> 
> In errorlog it says :
> 
> piped log program '/bin/gzip  -c
> >>/home/mydir/apache/logs/mydomain.com-access_log.gz' failed
> unexpectedly
> gzip: >>/home/mydir/apache/logs/mydomain.com-access_log.gz: No such
> file or directory
> 
> 
> What could be the issue here ?
> 
> Thank you
> 
> -Paras
> 

Mime
View raw message