-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
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
#if SHARING | |
_currentFile = _shared ? | |
(ILogEventSink)new SharedFileSink(path, _textFormatter, _fileSizeLimitBytes, _encoding) : | |
new FileSink(path, _textFormatter, _fileSizeLimitBytes, _encoding, _buffered); | |
#else | |
_currentFile = new FileSink(path, _textFormatter, _fileSizeLimitBytes, _encoding, _buffered); | |
#endif |
What's the status here?
- Is it working to write to one file from multiple processes even if this shared parameter is set to false?
- If not, will this be implemented?
Metadata
Metadata
Assignees
Labels
No labels