I found a file on the Web server has been growing and fast, a log file, has reached a G. But also want to leave some of the latest log, do not want to delete, but the log file is too large, simply can not open. In fact, it is best to use log polling, before this Web server did not do this configuration, this should be configured when the Web server should be done. It's not too late to configure it.
1. First Need software: http://cronolog.org/download/index.html
Version 1.6.2 released 2002-01-24 (gzip ' ed tar file)
Version 1.6.1 released 1999-12-20 (gzip ' ed tar file)
Win version (ZIP file)
Version 1.6 released 1999-12-16 (gzip ' ed tar file)
Version 1.5b9 released on 4 June 1998 (gzip ' Ed tar file)
Version 1.4 released December 1996 (gzip ' ed tar file)
If you have Windows to win_32_version (ZIP file) Linux is accustomed to which kind of package to use.
2. Install Cronolog under Linux
Tar zxvf cronolog-1.6.2.tar.gz
CD cronolog-1.6.2
./configure (Note: The default is to install under/usr/local cronolog command under/usr/local/sbin, this should be clear)
make; Make install
3. Install Cronolog under Windows
It's simple under Windows to extract the Cronolog.exe directly into the bin directory in the Apache directory.