The easiest way is to check the file time and when changed read the file and detect changes.
There are different
tools and frameworks out, but the
QFileSystemWatcher looks interesting
AND portable. For Windows you may
Obtaining Directory Change Notifications.
Dont ferget that its work for the operating system of the computer and so may hurt performance.
May in the written file can placed some time stamps for identification of change time. For log file deleting old content or creating files for every day is common practise.