I have a application which writes continuously to a log file on local disk space. I want to mirror or copy this log file real time (or near to real time) to some other disk space (say NFS). I used Unison for this purpose, but it fails to mirror or copy the file from local disk to NFS with the error -
Failed to fingerprint file "/var/tmp/MY_LOG_FILE.log": the file keeps on changing
Is there any other product/tool available to cater such requirement on Unix?
Thanks and regards,
Re: real time file synchronization utility for Unix
9 years 7 months ago #28935
What you could do is create a script that would create a mirror of the file you specified and then create a cron job that would run say 5 seconds in interval (or lesser - to have it more in relatime) and that's it.