Append to File truncates file (sometimes)

Hi I am using a rule to log values to a file which I would like to keep for long periods, but it is truncating past logged content at seemingly random points in time. Is there some logical explanation for this? Could this happen if the rule is triggered twice almost simultaneously?

Thanks