|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Cronolog and gzip
I was wondering if there was a way for cronolog to redirect the apache log files directly to a gzip file. I would like to combine these two lines if possible??? CustomLog "|/usr/bin/gzip -c >>
/var/log/access_log.gz" commonCustomLog "|/usr/local/sbin/cronolog
/usr/local/apache2/logs/access.%Y%m%d.log" commonAnyone got any ideas? Maybe this? CustomLog "|/usr/bin/gzip -c >> /usr/local/sbin/cronolog /usr/local/apache2/logs/access.%Y%m%d.log" common Would that work or am I better off gzipping the files with cron at midnight? TIA, Jay
|