c++ - Reading data from a log file as a separate application is writing to it -
i monitor log file being written application. want process file line line as, or shortly after, written. have not found way of detecting file has been extended after reaching eof.
the code needs work on mac , pc, , can in language, though familiar c++ , perl.
does have suggestion best way it?
in perl, file::tail module need.
Comments
Post a Comment