Overwritten file with the same number of lines

Tags:

#1 h5Azc
Hi, I monitor file which is overwritten (not appended) with the same numberof logs (3 lines). I am not able to force nxlog to send this change. Example: file.txt before change: 1123 3256 2546 2342 file.txt after overwrite: 8888 3256 2461 2342 There is the same number of lines so size did not changed of file. What I have checked so far: Every 5 sec Exec log_info("scheduled execution at " + now()); module_restart(); SavePos FALSE ReadFromLast FALSE I use as a output file and tcp steam - the same result for both. Any advice how to force nxlog to read file again?
#2 rafDeactivated Nxlog ✓
#1 h5Azc
Hi, I monitor file which is overwritten (not appended) with the same numberof logs (3 lines). I am not able to force nxlog to send this change. Example: file.txt before change: 1123 3256 2546 2342 file.txt after overwrite: 8888 3256 2461 2342 There is the same number of lines so size did not changed of file. What I have checked so far: <Schedule> Every 5 sec Exec log_info("scheduled execution at " + now()); module_restart(); </Schedule> SavePos FALSE ReadFromLast FALSE I use as a output file and tcp steam - the same result for both. Any advice how to force nxlog to read file again?

Hello,

Could you please provide your full nxlog.conf?

Regards,

Rafal