[Orca-users] Re: Apache Logfiles separated with cronolog
Blair Zajac
blair at gps.caltech.edu
Fri Aug 10 10:22:25 PDT 2001
Hello,
Orcallator.se is designed to watch one specific log file name. It
doesn't match globs.
Not knowing exactly what cronolog does, but guessing that it saves the
logs to a filename containing the current date, you'll have to patch
orcallator.se to have it watch for new access logs with a particular
date string in it. You may be able to set up a symlink from access.log
to the current filename and when a new log file is generated, move the
symlink.
Most people log to access.log and cut the log to a new filename. This
is the behavior orcallator.se is designed for to monitor web server
traffic. It'll read access.log and if it sees a new inode for the
filename or the file gets smaller, it reopens access.log and continues
processing.
Blair
brabax22 at hotmail.com wrote:
>
> Hello,
>
> i use cronolog to separate my apache-logs. The interesting part at
> httpd.conf here:
>
> TransferLog "|/usr/local/apache/current/bin/cronolog /export/home/logf
> iles/access_%Y%m%d.log"
>
> This generate a seperate log every day. How can I set these logs for
> Orca ? I try to set this an start_orcallator:
>
> WEB_LOG=/export/home/logfiles/access_*.log
>
> It seems that orca don't read the logfile (there are no hits at the
> plot). When i set WEB_LOG to
>
> WEB_LOG=/export/home/logfiles/access_20010809.log
>
> i get hits for these day. How can I tell orca to take every day the
> new logfile (name convention) ???
>
> Thanks...
>
> Yahoo! Groups Sponsor
> [www.nissandriven.com]
> www.nissandriven.com
>
>
More information about the Orca-users
mailing list