Hello I have many virtual hosts with separate logfiles. What is the best way to generate LOGFILE statements for analysing lots of logfiles together? Our list of virtual hosts is very long and constantly changing. Is specifying lots of LOGFILE statements in an Analog configuration file the best way to specify multiple logfiles to analyse? There are so many virtual hosts I may not be able to fit them all in on the command line. I am using LOGFILE directives like this. # Virtual host logfiles to analyse, and their respective URLs LOGFILE /var/log/httpd/example.com-access_log http://www.example.com LOGFILE /var/log/httpd/sample.com-access_log http://www.sample.com LOGFILE /var/log/httpd/mydomain.com-access_log http://www.mydomain.com I am creating a Directory report which shows the transfer of each virtual host, like this: Mbytes: directory -------: --------- 2.136: http:// 0.798: http://www.mydomain.com/ 0.762: http://www.example.com/ 0.575: http://www.sample.com/ So far all marvellous and wonderful. :-) I guess I need a script to create the LOGFILE statements. Does Analog have a way of embedding another file in a configuration file? If so I could generate the LOGFILE statements into a separate file using a Perl script and then not have to touch the rest of the configuration file. Is this possible? Any advice much appreciated. Wishes, Phil +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
