[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Using WebTrends/Multi-Homed



>
> > > Not true.  We use WebTrends 4.2, and it reads the RaQ2 logs just fine.
> >  Just
> >  > use the log files in the /home/sites/sitexx/logs directories.
> >  >
> >
> >  But that file is almost always outdated
> >
>
> Huh?  Outdated?  They are constantly updated everytime a request is made
to
> that virtual domain.  Unless your RaQ2 is malfunctioning or
mis-configured,
> those files should ALWAYS be up-to-the-minute current.  At least, I've
never
> seen them behave any other way.
>
> Also, rather than giving WebTrends the specific log file name, just give
it
> the directory with an asterisk (*) after the final slash -- that way, it
will
> include even the log files that have been archived, if they are still in
that
> directory.  And yes, WebTrends can read gzipped files with no problem.
>

On my Raq2 in my /etc/httpd/conf/httpd.conf file is the Line
CustomLog /var/log/httpd/access combined
In the /etc/cron.quarter-daily/ is splitlog.pl (Runs 4 times per day)
Splitlog.pl Splits /var/log/httpd/access into all the sites access logs...
so if your /home/sites/whatever/log/access is generated every 6 hours I call
it "outdated" (Unless I'm wrong about something here?)

I just added another log in httpd.conf
CustomLog /home/somewhere/hidden/myaccess combined
The Combined LogFormat seems work with accesswatch and Webalizer.
And there it is!  Up to the Hit Stats!  The advantage is that at 23:45 when
you genetrate stats everything is up to date and ready to Rock!  Sounds like
the * thing would work to  in /var/log/httpd?

Note that I put it in /home because I don't expect to delete or rotate it.
It's gonna get Real Big!

Zeffie