1. First download the log polling tool to install Apache Cronolog:
1 wgethttp//cronolog.org/download/cronolog-1.6.2.tar.gz2 3 TarZXVF cronolog-1.6.2.Tar. GZ4 5CD cronolog-1.6.26 7 mkdir-p/usr/local/Cronolog8 9./configure--prefix=/usr/local/CronologTen One Make A - Make Install
Cronolog Log Polling Configuration description:
Polling by day (common usage in production environment, recommended):
1 " |/usr/local/sbin/cronolog/logs/access_www_%y%m%d.log " combined (hint: Cronolog polling the correct wording of the log, the log path being polled to write the full path (log by day, log is not automatically overwritten))
Poll by hour (common usage in production environments):
1 " |/usr/local/sbin/cronolog/logs/access_www_%y%m%d%h.log " (Hint: This configuration may be appropriate if you need to analyze Apache logs in a timely and detailed manner.)
Weekly polling (production environment is more commonly used):
1 " |/usr/local/sbin/cronolog/logs/access_www_%w.log " combined
Apache Log Polling Technology