We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The durable log shipper checks the HRESULT behind an IOException in order to detect locked log files.
IOException
https://github.com/serilog/serilog-sinks-seq/blob/dev/src/Serilog.Sinks.Seq/Sinks/Seq/HttpLogShipper.cs#L397
Since this is exposed in .NET Core we didn't pick it up in the migration, but obviously this won't work on non-Windows platforms (https://github.com/dotnet/corefx/issues/11144).
It's probably safe to assume on .NET Core that any IOException here indicates a locked file, we're only doing the check to improve diagnostics.
Thanks @ghuntley for raising this 👍
The text was updated successfully, but these errors were encountered:
6ac7d54
Merge pull request #36 from nblumhardt/dev
ffe1d38
Fixes #33 - HRESULTs are only generally available on .NET Framework
No branches or pull requests
The durable log shipper checks the HRESULT behind an
IOException
in order to detect locked log files.https://github.com/serilog/serilog-sinks-seq/blob/dev/src/Serilog.Sinks.Seq/Sinks/Seq/HttpLogShipper.cs#L397
Since this is exposed in .NET Core we didn't pick it up in the migration, but obviously this won't work on non-Windows platforms (https://github.com/dotnet/corefx/issues/11144).
It's probably safe to assume on .NET Core that any
IOException
here indicates a locked file, we're only doing the check to improve diagnostics.Thanks @ghuntley for raising this 👍
The text was updated successfully, but these errors were encountered: