hi,
I'm sorry to have to email this query to you directly, but I've looked
through the FAQ and not found anything.

We use Analog to create stats for many of the sites we manage (50+) we
also use cronolog to store the log files from our Apache servers. To
keep the logs tidy we put them in directories for year, month and save
access and error log files for each day separately. 

(An example from an Apache httpd.conf, might looks like this)

ErrorLog "|/opt/sbin/cronolog
/export/home/www-logs/httpd/logs/lic/%Y/%m/%d-error_log"
TransferLog "|/opt/sbin/cronolog
/export/home/www-logs/httpd/logs/lic/%Y/%m/%d-access_log"

The problem we have with this situation is specifying the log file path
in the analog.cfg, because (as far as I'm aware) it's not possible to
use a regular expression for finding the logfiles, you need to specify
them explicitly.

To get around this problem we are currently writting short shell scripts
that 'find' all the log files, then send this to the whatever.cfg analog
config file.

This works fine, but it's a bit of a nuisance.

My question is: 'Is there any better way of doing this in Analog at
present, or will there be in the future?'
ie. does Analog support the use of regular expressions in specifying the
logpath?

It would be nice if something like this was allowed:
LOGFILE /opt/apache/logs/www.canteach.gov.uk/%Y/%m/%d-error_log

thanks for your help,
Tom.
-- 
-----------------------------------------------------------------------
Tom Freeman
Industrial Placement
NISS, Eduserv
Tel: 01225 323789
Fax: 01225 826177
Web: http://www.niss.ac.uk
------------------------------------------------------------------------
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