I like this idea, but I think it would require non-default permissions for the account the application runs under on windows. However, it could be feature that can be switched on.
https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/create-symbolic-links Maybe I read the docs from MS incorrectly. Tim > On Dec 18, 2021, at 7:07 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > > Hi All: > > And now for something completely different. > > I wonder why we do not do file rollovers like below, and if we should: > - Create the file with the target rolled over a name like applog-2021.txt > - Create a symlink for the constant name like applog.txt to point to > applog-2021.txt > - When it's rollover time, start writing to the new file > applog-2022.txt and change the symlink to point to it. > > Zero copy. > > Thoughts? > > Gary