-
Notifications
You must be signed in to change notification settings - Fork 33
Implement multi-process log file sharing on .NET Core #37
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
Comments
Hi @derFunk - |
Yes, I'm on .NET Core. |
Re-titled to cover the .NET Core aspect. Not sure what the appropriate cross-platform way to implement this is (close/reopen is hideously slow). Any ideas out there? |
@nblumhardt , what do you think about serializing writing/flushing with |
Ooh interesting - I didn't think |
I've PR'd a basic implementation in serilog/serilog-sinks-file#27. Once we're happy with it, we can incorporate it downstream here. |
PR in #40. |
Hi all - this is now in the pre-release NuGet package, any feedback welcomed! |
There is a parameter
shared
when creating a RollingFile sink.But currently it's throwing a NotSupportedException when set to
true
.See also
serilog-sinks-rollingfile/src/Serilog.Sinks.RollingFile/Sinks/RollingFile/RollingFileSink.cs
Lines 157 to 163 in 1c88099
What's the status here?
The text was updated successfully, but these errors were encountered: