serilog-settings-configuration
serilog-settings-configuration copied to clipboard
A Serilog configuration provider that reads from Microsoft.Extensions.Configuration
One of my colleagues was faced with the problem when trying to set the value of the level override from environment variables. This PR helps to do that. @skomis-mm @nblumhardt...
Unfortunately I don't have any good news for this library. It looks like the fundamental concept, loading arbitrary types by name from arbitrary assemblies, configured by the user at run-time,...
An minimal example configuration is as follows: ```jsonc { "Serilog": { "WriteTo": [ { "Name": "Async", "Args": { "BufferSize": 512, "Configure": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss.fff} {Level:u3}]...
hi, I have an app that runs multiple instances of .Net windows Service (like Instance1, Instance2 etc) using same exe, but with different arguments. Now I am trying to add...
Our Snyk scan has revealed the following issues with the current version of the package: The issue is regarding the currently used version of Newtonsoft.Json, which is -> [email protected] ›...
```jsonc "Serilog": { "Using": [ "Serilog.Sinks.Console" ], "MinimumLevel": { "Default": "Information", "Override": { "Microsoft": "Information", "System": "Information" } }, "WriteTo": [ { "Name": "Console", "Args": { "formatter": { "type": "Serilog.Templates.ExpressionTemplate,...
I need to specify different filters for each sink and example above is working correctly in debug mode, but after publishing application as self-contained logs failed to write. ```json {...
App hosted on iis under windows server 2012 after publishing can't start after deploy. Here is relevant configuration in csproj all runtime; build; native; contentfiles; analyzers in version 3.3.0 everything...
According to https://github.com/serilog/serilog-settings-configuration/issues/293#issuecomment-1002972481 the 'New expression package [uses](https://github.com/serilog/serilog-expressions#properties) shorter syntax (CLEF) for expressions.' as such, the WriteTo:ConditionalSink sink in [sample application](https://github.com/serilog/serilog-settings-configuration/blob/dev/sample/Sample/appsettings.json#L49) does not work as expected. `@Level` should be `@l`...
Hi, I am trying to specify a complex parameter for subject and body for Serilog.Sinks.Email like this: ``` "WriteTo": [ { "Name": "Email", "Args": { "options": { "subject": { "type":...