Copy then truncate leaves a gap where appended lines vanish. Rename closes it but only if the writer reopens its file. Here is what each workaround costs.
Share this article
file-copyfilesystemslinuxlog rotationrenametruncate
Copy then truncate leaves a gap where appended lines vanish. Rename closes it but only if the writer reopens its file. Here is what each workaround costs.
Share this article
Comments