|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] mod_cronolog
This email is by way of advance notice that I have started working on an Apache module version of cronolog. I hope to have an alpha version working in a couple of weeks. The module code is more or less written and the back-end process code sketched out. It just depends on what other demands on my time there are. The module architecture is as follows: The module replaces mod_log_config and provides all the facilities that that module does. In addition if a log file name that is not a piped log contains strftime format specifiers then it is regarded as a rotated log file, e.g.: CustomLog /web/logs/%Y/%m/%Y-%m-%d.log common I am also going to allow the period to be specified explicitly, probably something like this: CustomLog /web/logs/%Y/%m/%Y-%m-%d-%H:%M.log common period=6hours mod_cronolog will warn if the filename templates are inconsistent, e.g. if you specify "/web/logs/%Y%H.log" that implies a period of one hour, however you have specified years and hours, but not the months and days. Rotated log files will all be piped through a single cronolog back-end process (not the same as the cronolog program). Thus there will be one extra process per Apache set-up if you have any rotated logs. I will post further updates when I am ready for beta testers. Regards Andrew -- Andrew Ford, Director Ford & Mason Ltd Tel: +44 1531 829900 A.Ford@xxxxxxxxxxxxxxxx South Wing, Compton House Fax: +44 1531 829901 http://www.ford-mason.co.uk Compton Green, Redmarley Mobile: +44 7785 258278 http://www.refcards.com Gloucester, GL19 3JB, UK
|