[Orca-users] Re: Rotating web logs

Blair Zajac blair at akamai.com
Mon Feb 12 22:20:00 PST 2001


That's right.  This is an orcallator.se issue, not an Orca find_times
issue.

Jeremy, did you ever get this working?  The rotater order you listed
sounds like it may be doing things in an order that could cause some
problems.  Since the gzip process is compressing the log while the web
server is still writing to it, it may be better to do this:

1) Move the file
2) Restart the server
3) Gzip the file

Orcallator.se should not have a problem with this.

Regards,
Blair

reitsmac at denison.edu wrote:
> 
> Since orcallator.se is recording the information I would expect that
> you would have to run stop_orcallator/start_orcallator after each
> rotation.
> 
> I have not been able to get it to work just by changing the find_times
> parameter.
> 
> --- In orca-users at egroups.com, Blair Zajac <blair at a...> wrote:
> > Are you using Orcallator.se or some other recording tool?
> >
> > You can use the find_times configuration file parameter to tell Orca
> > when it should look for new filenames:
> >
> > From Orca's manual:
> >
> > =item B<find_times> I<hours:minutes> [I<hours:minutes> ...]
> >
> > The B<find_times> parameter is used to tell Orca when to go and find
> > new files.  This particularly useful when new input data files are
> > created at midnight.  In this case, something like this may work:
> >
> >   # Find files at the following times:
> >   #    0:10 to pick up new orcallator files for the new day.
> >   #    1:00 to pick up late comer orcallator files for the new day.
> >   #    6:00 to pick up new files before the working day.
> >   #   12:00 to pick up new files during the working day.
> >   #   19:00 to pick up new files after the working day.
> >   find_times 0:10 1:00 6:00 12:00 19:00
> >
> > If you add too many different times to find_times, then Orca may
> spend
> > a large amount of time finding files, so it's best just to have it
> > find files when you know that they will appear.
> >
> > By default, files are only searched for when Orca starts up.
> >
> > Regards,
> > Blair
> >
> > Jeremy Wilson wrote:
> > >
> > > I'm setting up orca to watch the system and the web logs, but at
> midnight
> > > my system rotates the weblogs and orca stops recording the
> information.
> > >
> > > The rotator works by moving the log, then gziping it, then
> restarting the
> > > web server to re-init the log files.
> > >
> > > How can I make orca see the new file?
> > >
> > > --
> > > xeno at i...  - Jeremy Wilson  -  Modern Pinball Game Collector
> > > Wonder what's inside my wallet? http://www.inf
> oramp.net/~xeno/wallet
> > >
> > >



More information about the Orca-users mailing list