in reply to Reading log files that get overwritten

A non perl solution is this:
$FWDIR/bin/fw log -f 2>>/var/adm/fw-log.log | /bin/logger -p local5.i +nfo > /dev/null 2>&1 &
and set the syslog conf to point to the syslog server.

-Waswas

Replies are listed 'Best First'.
Re: Re: Reading log files that get overwritten
by Zapawork (Scribe) on Jan 03, 2003 at 06:56 UTC
    Hi waswas,
    That was the first thing I tried, however what I noticed was that the utility stops after a period of time since it is reading from the same file and does not repeat over it to determine the next block. Thus my problem... pardon me if that is nonsensical.. it's late.

    Dave -- Saving the world one node at a time

      What Nokia model are you using? I have never seen that behavior before.

      -Waswas