Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate support for O_APPEND on Linux #173

Closed
nblumhardt opened this issue Jul 31, 2020 · 3 comments
Closed

Investigate support for O_APPEND on Linux #173

nblumhardt opened this issue Jul 31, 2020 · 3 comments

Comments

@nblumhardt
Copy link
Member

See: https://nblumhardt.com/2016/08/atomic-shared-log-file-writes/

I'd guess by now there will be options/support for this in .NET Core, time to come back around to it.

@tjmoore
Copy link

tjmoore commented Nov 25, 2021

Any news on this? This may be a solution to an issue we see with logrotate which causes huge amounts of nulls to appear in the log files. A suggestion is this is caused by not opening the file with O_APPEND. https://stackoverflow.com/questions/64871670/null-value-in-the-beginning-of-log-after-logrotate

@nblumhardt
Copy link
Member Author

@tjmoore no news, though there were some moves being made to support O_APPEND on Linux in .NET 6, which could use another look. Any help with investigation would be appreciated 👍

@nblumhardt
Copy link
Member Author

Superseded by #221

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants