On Tue, 23 Jan 2001, Tom Freeman wrote:
>
> 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.
>
> 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?
>
Not regexps. You can use shell-like wildcards in the filename. Whether you
can also use them in the directory name is system-dependent.
> It would be nice if something like this was allowed:
> LOGFILE /opt/apache/logs/www.canteach.gov.uk/%Y/%m/%d-error_log
>
It's explained in the FAQ why this isn't really useful. Also, note that
analog doesn't analyse the error log, only the access log.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"Your account can only be used for a single internet session at any one
time and for no more than 24 hours in any one day." (NTL terms of use)
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------