[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Stats Generation on RaQ3
- Subject: Re: [cobalt-developers] Stats Generation on RaQ3
- From: Eric Marcussen <ideas@xxxxxxxxxxx>
- Date: Mon Feb 12 13:27:03 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Jose,
I'm a newbie at this Cobalt thing. I am having the same problem my RAQ3s
with the stats ever since I installed the latest Cobalt OS update. Could
you tell me what directory this "split_logs" script is in.
Thanx,
<<Eric>>
At 03:41 PM 2/12/2001 -0400, you wrote:
Cobalt Reps, please respond to this issue:
After installing all the latest patches, I just realized that the stats
generated for the domains on my RaQ3 only show data for the previous day and
not for the whole period included in the "web.log" file under the
/home/sites/siteX/logs/ directory.
Report Generated: 2001/02/12 04:02
Period Covered: 2001/02/11 06:08 - 2001/02/12 03:41
The "web.log" file has entries since January 09, 2001 up until yesterday.
Stats for only one day are not very useful!.
I have looked around in the scripts that generate the stats and I found
what's causing this behavior. In the split_logs script, Cobalt runs the
analog analyzer with the data gotten from the current apache access log
file, which of course only has entries for the last day since it is rotated
everyday at 4 a.m.
This is the code in the split_logs file:
# now we run analog if session_log exists
if ( -e $session_log){
system("$analog < $session_log");
unlink $session_log;
}
Changing the line:
system("$analog < $session_log");
To:
system("$analog < $log_file");
should do the trick. This would feed analog the whole "web.log" file,
instead of the "web.sessionlog" file. "web.sessionlog" only contains access
data for the previous day.
Any comments Sun-Cobalt?
Jose Aguilar
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
............................................
Eric Marcussen
System Administrator/Webmaster
S P H E R E S L L C U S A
E-Commerce, Web Site Design
Site Hosting, Marketing & Management
...
Tel: 1.732.339.0700 . ideas@xxxxxxxxxxx
http://www.spheres.net
.
VERIO Authorized Solutions Provider
...
Official Advisor: Int'l Agency for
Economic Development, working with
the United Nations
............................................