approach on parsing the query-log file

Jonathan Petersson jpetersson at garnser.se
Tue Apr 28 15:13:25 UTC 2009


Yeah I've thought about using tail but I'm not sure how locking would
be managed when logrotate kicks in, does anyone know?

On Tue, Apr 28, 2009 at 3:41 AM, Niall O'Reilly <Niall.oReilly at ucd.ie> wrote:
> On Mon, 2009-04-27 at 22:26 -0700, Jonathan Petersson wrote:
>> The obvious question that occurs is; What would be what's the best
>> approach to do this?
>
>        I've not used it, but a colleague is very keen on File::Tail
>        (http://search.cpan.org/~mgrabnar/File-Tail-0.99.3/Tail.pm).
>        Apparently, it looks after log-file roll-over and 'just works'.
>
>        /Niall
>
>
>



More information about the bind-users mailing list