Replacement for cronolog

One of the particularly useful programs from the Fedora distributions is cronolog. I use it with Apache's httpd to manage log files so that instead of having numbered log files created by logrotate, I have instead individual daily log files with each file's name containing the date corresponding to the log entries it contains.

cronolog is not in all distributions however, so I wrote my own in Tcl for use in these cronlog-deficient distribtutions (such as CentOS). My cronolog is simpler, has no command-line options (except for the log file name template), and you use it in httpd configuration files the same as you do with the one that comes with Fedora.

See the attached file for the Tcl source.

Files: