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

Re: [cobalt-users] [RaQ3] Log Files: 101



On Thu, Mar 30, 2000 at 05:31:44AM -0600, Liz wrote:
> The main "access" log is only recording 1 day's worth (AFAK).
> After running a custom config'd Analog on the "access" log it doesn't do me 
> much good to read just 1 day's worth of statistics...maybe someday there 
> will be some use for this, altho I'm doubtful.

Do you have the interface set to generate reports on this daily?
I'm thinking that caused my RaQ2 to rotate it daily, otherwise,
start looking in /etc/logrotate.conf and /etc/lograte.d/ as
well as /etc/cron.*/ and the various crontabs available via
crontab -l (or alternatively /var/spool/cron/*/)

> As far as the individual virtual sites goes, info in "web.log", I realize 
> that this get's reset after it hits a certain size, and I'm assuming that 
> the compressed .gz counterpart is also being reset under the same 
> conditions...correct?

zcat access.gz  | /usr/local/bin/analog

(assuming analog is in that slot ;-) )  Or just use zcat piped to
more or less to see when the file starts.

> What's the deal with the "web.cache" and "web.cache.new" files??
> I can't make heads or tails out of what all of those columns are suppose to 
> represent.  Special type of database and what database is reading it?

Don't know, they're not in the RaQ2.  Generally speaking, Cobalt has
used Apache's mod_logging.  You can check out www.apache.org to look
up the documentation on the  CustomLog directive to see how that works
then look in your /etc/httpd/conf/httpd.conf to understand what they
are logging.

> But the "web.log" doesn't use this same format. (hmm, not surprised!)

On the RaQ2, the difference betwee /home/sites/site#/logs/access.log
and /var/log/httpd/access_log was that access_log had the format of

sitename - <rest is the same as access.log>

> Cobalt GUI "site user" stats are still worthless, IMO.  

Not alone there, this is the biggest gripe I hear from users
of the RaQs.

-- 
Robert G. Fisher		     NEOCOM Microspecialists Inc. 
System Administrator/Programmer      (540) 666-9533 x 116