> Hi,
> 
> I am in the process of developing an interface to mod_log_config. It can do 2 
> things:
> 
> * make CustomLog call perl handlers
> * work as a log drain or log file
[sNip]
> BTW, if you feel urge to comment the idea or the implementation please don't 
> hesitate.

        What I think would be a very nice addition to that list of two 
things is to be able to specify a customized filename for the log 
files.  I'm unsure if this is even possible though.

        I currently pipe through "cronolog" to include the YEAR and MONTH 
numbers in the filenames.  If this could be handled without piping 
out to another process, then it would reduce a lot of pipe process 
overhead (for each VirtualHost there are two "cronolog" processes, 
one for the CustomLog, and the other for the ErrorLog).

        An example of the filenames for log files for this month are 
"access.2011-03.log" and "errors.2011-03.log."

        If this feature is possible, then this module could also help to 
make ModPerl 2 a little bit more popular if other administrators are 
interested in reducing the number of piped processes.

Randolf Richardson - rand...@inter-corporate.com
Inter-Corporate Computer & Network Services, Inc.
Vancouver, British Columbia, Canada
http://www.inter-corporate.com


Reply via email to