If it is indeed just a lack of features in analog, I think it's a feature
that is very much needed.  Within the few web developers that I have
consulted about this problem, almost all of them want this feature too.  I
would think it would be easy to program in.  Something like this:

<Start log fleacircus.org>
LOGFILE /home/brian/logs/fleacircus.org-access_log http://www.fleacircus.org
OUTFILE /home/brian/public_html/log/logfile.html
<End log fleacircus.org>

<Start log koingosw.com>
LOGFILE /home/jhague/logs/koingosw.com-access_log http://www.koingosw.com
OUTFILE /home/jhague/public_html/log/index.html
<End log koingosw.com>

Then whenever analog is run, it'll do 2 cycles.  One cycle on the
fleacircus.org set, one cycle on the koingosw.com set.  Easy to do.

Wouldn't that be better?

Brian Tobin
[EMAIL PROTECTED]


> From: Michael Roberts <[EMAIL PROTECTED]>
> Organization: Vivtek
> Reply-To: [EMAIL PROTECTED]
> Date: Sun, 02 Jul 2000 17:24:52 -0500
> To: [EMAIL PROTECTED]
> Subject: Re: [analog-help] Problem with adding multiple logs
> 
> You can't.  Well, the rule is with Analog: one run, one output.  If you need
> three outputs, you need to run it three times; a good way to do this with
> virtual hosting is to write a Perl script which reads the directory where you
> keep your virtual hosts' logs, and use +C to build a command line for Analog
> which specifies a separate LOGFILE and OUTFILE for each one of your log files.
> 
> Hope that helped!
> Michael
> 
> Brian Tobin wrote:
> 
>> I am using Analog version 4.11 on a Redhat linux 6.2 system.  I installed it
>> via RPM and it works perfectly fine with just one log file.  Since I host 3
>> web sites on my server, all logged to seperate files, I thought it would be
>> a good idea if every web site I hosted could have it's own report made from
>> it's own logfile.  To do this, in the sample virtual hosts config file, it
>> says :
>> 
>> "There are basically two ways to set up your web server if you are serving
>> lots of virtual domains. The first, which is usually better if you don't
>> have many virtual domains, is to log them all to different logfiles. Then
>> you can analyse each single domain independently."
>> 
>> The only problem with that is my question, "How do I analyze each domain
>> separately?"  Right now my config file looks like this:
>> 
>> LOGFILE /home/brian/logs/fleacircus.org-access_log http://www.fleacircus.org
>> OUTFILE /home/brian/public_html/log/logfile.html
>> HOSTNAME "Flea Circus"
>> 
>> LOGFILE /home/jhague/logs/koingosw.com-access_log http://www.koingosw.com
>> OUTFILE /home/jhague/public_html/log/index.html
>> HOSTNAME "Koingo Software"
>> 
>> LOGFILE /home/msedore/logs/mikesedore.com-access_log
>> http://www.mikesedore.com
>> OUTFILE /home/msedore/public_html/log/index.html
>> HOSTNAME "MikeSedore.com"
>> 
>> When this runs, however, this it will display perfectly for the flea circus
>> logfile.  Everything that's in fleacircus.org-access_log will be shown in
>> the corresponding report, nothing more.
>> The koingosw.com one does not work so well.  It's report displays all info
>> for the koingosw.com-access_log AND the fleacircus.org-access_log.  The
>> mikesedore.com report displays info from mikesedore.com-access_log,
>> koingosw.com-access_log AND fleacircus.org-access_log.  I'm asking how I can
>> get all three of these logfiles to produce their very own independant
>> report.  Thanks for your help.
>> 
>> Brian Tobin
>> [EMAIL PROTECTED]
>> ------------------------------------------------------------------------
>> This is the analog-help mailing list. To unsubscribe from this
>> mailing list, send mail to [EMAIL PROTECTED]
>> with "unsubscribe" in the main BODY OF THE MESSAGE.
>> List archived at http://www.mail-archive.com/[email protected]/
>> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/[email protected]/
> ------------------------------------------------------------------------

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to