[Xitami] Is real-time view of logs possible?

Brian {Hamilton Kelly} xitami@lists.xitami.org
Mon, 10 Mar 2003 22:52:30 GMT


In message <5.1.0.14.2.20030307082520.00a4bec0@verfaillie4.verfaillie.local>
   Marc Doigny writes:
> At 00:23 7/03/03, you wrote:
> >Is there a way to view Xitami access logs in real-time? i.e. to see the
> >entries to the log files as they are written?
> 
> It seems there are lots of people wanting to see the logs real time.
> If pushed enough, i can write you a small windows console application (exe) 
> that shows the last entries in the log file.

Would it not suffice to use one of the Windows' ports of the Unix tail
utility?  I regularly use an OS/2 port of tail, with the -f switch, to
view similar logs that all other programs refuse to open (because they're
supposedly locked).  I've not tried it with running Xitami logs, but see
no reason why it should not be equally efficaceous.  (For those
unfamiliar with the concept, "tail -f <filename>" will display the last
ten lines of a file, and then sit waiting for the file to be extended by
whatever is writing it, and display what gets added "in real-time", until
Ctrl-C is pressed.)

-- 
Brian {Hamilton Kelly}                                          bhk@dsl.co.uk
    "We can no longer stand apart from Europe if we would.  Yet we are
    untrained to mix with our neighbours, or even talk to them".
                                              George Macaulay Trevelyan, 1919