Archiving logs

The cronolog program reads log messages from its input and writes them to a set of output files, the names of which are constructed using template and the current date and time. The template uses the same format specifiers as the UNIX date command (which are the same as the standard C strftime library function). For more information, see:

  • Rotating Your Web Server Log Files () - introduces the cronolog program
  • cronolog (,a href="http://www.ford-mason.co.uk/resources/cronolog/">http://www.ford-mason.co.uk/resources/cronolog/)
The rotatelogs program is a wrapper that you include in the Log definitions in your web server configuration file (~/www/conf/httpd.conf).

Back