Linux running Web server Apache, the default log file is not split, an entire file is not easy to manage, and not easy to analyze statistics. After installing Cronolog, you can split the log files by time, which is easy to manage and analyze.
Cronolog installation configuration is very simple, after downloading only need to enter a few commands to complete.
1. Download (latest Version)
# wget http://
If this link fails, please go to this link:
http://download.chinaunix.net/download.php?id=3457&resourceid=1851
2 Decompression
# tar zxvf cronolog-1.6. 2. tar.gz
3. Enter the directory where the Cronolog installation files are located
# CD cronolog-1.6. 2
4 Installation
#./configure
Make && make install
5 View the directory where the Cronolog is installed (verify that the installation was successful)
Ll/usr/local/sbin/cronolog
6 httpd-vhosts.conf configuration in Apache
" |/usr/local/sbin/cronolog/hongxin/logs/apache/access_default_%y%m%d.log " combined
Poll by day
7 Restart Apache to view logs:
1 791 A : Access_default_20160612.log
Log has been generated
Apache Log poll for Linux Cronolog