serilog-sinks-file
serilog-sinks-file copied to clipboard
Write Serilog events to files in text and JSON formats, optionally rolling on time or size
Requesting a out-of-the-box capability to customize a filename while using [rolling policies](https://github.com/serilog/serilog-sinks-file#rolling-policies).
~~Fixes https://github.com/serilog/serilog-sinks-file/issues/257.~~
This is available now via `FileSystemAclExtensions.Create()`, added in .NET Core 3. Some context in an earlier post: https://nblumhardt.com/2016/08/atomic-shared-log-file-writes/ Current status: https://github.com/dotnet/runtime/issues/53432#issuecomment-850532304 Thanks @adamsitnik for the nudge! :-)
This is similar to this issue: https://github.com/serilog/serilog-sinks-file/issues/86 I need to be able to read serilog rolling files while they are active as well as rolled. Can someone give me a...
I have updated the version of the package from 4.1.0 to 5.0.0 After the update the project build but if I try to publish the solution with the self-contained switch...
I am trying to implement encrypted storing of log files. However this is currently not possible with the [FileLifecycleHooks](https://github.com/serilog/serilog-sinks-file/blob/735efa9699035e979c73c3f4970ae0ab41ebabd7/src/Serilog.Sinks.File/Sinks/File/FileLifecycleHooks.cs#L26-L30) class as the `underlyingStream` parameter was opened with [FileAccess.Write](https://docs.microsoft.com/en-us/dotnet/api/system.io.fileaccess?view=netcore-3.1). I'm trying...
Hi I want to use rolling files with interval per day. But also If the app has to be restarted, it should create a new log file. Is this possible?...
These mirror the ones used in serilog/serilog, and direct usage questions to Stack Overflow
Hi, I have a .net 4.8 project (Windows Service) that depends on a .net standard 2.0 project with classes for log management through serilog. It was working fine with version...
Replace enum with class, and replace extension with method. This will allow you to more flexibly customize the spacing and format. In my project, I need to use files with...