Subject: [analog-help] re: Startup


: I fairly new to Linux (RH62) and would like some assistance in setting up this
application to view certain log files (primarily, email and messages).  After I
did the install of analog (using rpm -ivh [filename.rpm]). I made some changes
to the analog.cfg
:  LOGFILE /var/log/httpd/access_log
:  OUTFILE /var/log/outfile.html
: HOSTNAME "MMT Networks Pty Ltd"
:
: I get an output file in /var/log, do I need to copy this file to the
/home/httpd/html directory to view this file or was it supposed to do this
automatically.  Also is there a setting to update thsi file or is it being
dynamically updated every time a request is made?
:

Instead of copying the file over to where you want it, why not just write it to
where you want it???
For example:
If you want the OUTFILE in your /home/httpd/html directory, just give it that
path. It will write the outfile to wherever you tell it.
Just make sure that the directory exists where you want to put it.
OUTFILE /home/httpd/html/your-directory-name-here/outfile.html

I have analog doing stats for almost every site on my server.
I do this with a cron job by entering the following in my /etc/crontab file.
(RH6.0)

######### Run stats for MGA one minute after midnight everyday  ##########
######### Just print the report for each day ########################
1 0 * * * root /usr/web/data/www/mgacom/analog/analog-4.11/analog
+F-00-00-00:-24+01

Then in the directory I have set up for my stats on that domain, I have a little
PERL script that categorizes them for me in a HTML link listing.
I went about it in a little less 'efficient' manner than most would do, I have
analog installed in each domain.
It works for me, and I'm happy with it and the results.

Hope this isn't 'too much' information and that it will help.

Michael Fenimore

------------------------------------------------------------------------
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