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

Re: [cobalt-users] Stats - Raq4



.
Does the Raq4 produce individual access and error logs for each virtual site
(which could then be accessed via a stats program) or am I restricted to the
webalizer prog which as far as I can see spits out results from one big log
file?


I'm familiar with Raq3 but I'm assuming it's applicable to the 4.

Unless I'm misunderstanding you, Tim, Webalizer may be doing what you want as far as access logs are concerned. It reads the logs, creates a "stats" directory in each virtual site and then generates reports for that site that are accessible from a web browser. It does NOT, of course, log access -- it's just a program to read and organize log info.

By the way, although you can probably configure Apache to process logs for every site (mod_log_config would be the place, if I remember right), BUT I wouldn't. Every access and error log needs a file descriptor and Linux has a limit on how many of them you can have (256 I think). At about 50 or 60 sites, you run into the limit since file descriptors are used for other things like listen directives as well. You won't be able to have more than 50 sites or so before running into performance problems. You'll go nuts trying to figure out why your cgi programs stopped working and all that.

Right now, on the Raq3 at least, it processes the one access log and then splits the info into "logs" on every site -- very good solution, saves big time on descriptors.

As far as error log goes, I'm sure there must be a script or program that can handle that but I'm ignorant about what's out there for that purpose.

Alfredo
--
People-Link/Institute for Mass Communications
www.people-link.org
Communications for a Better World...and for the People Who are Building One!
Members, Local 1180, Communications Workers of America, AFL-CIO