[Gambas-user] file read and growing logfile
Ron
ron at ...1740...
Mon Mar 23 13:25:22 CET 2009
How to watch new data that's added to a logfile?
I want to make an apache log monitor, so I thought I could do that with
FILE READ WATCH, but thats not suited it seems, that one only seems keep
generating File_Read events continuous.
In short:
I want to open a file readonly.
Then seek to end of file (or just before it)
Then only get file_read events when new lines/data are added (by apache)..
Anyone has any ideas?
Regards,
Ron_2nd.
More information about the User
mailing list