serilog-settings-configuration
serilog-settings-configuration copied to clipboard
A Serilog configuration provider that reads from Microsoft.Extensions.Configuration
Hi I'm using serilog and trying writeto.File(), reading configuration from appsettings.json file.. But the problem here is I need two log files based on the application name, since I will...
Conversation started [here](https://github.com/serilog/serilog-settings-configuration/issues/49#issuecomment-293738108) but new issue to discuss a solution. **Is your feature request related to a problem** Currently WriteTo uses an array syntax but this makes it very hard...
`"WriteTo"`, and other configuration elements that accept arguments, use a syntax like: ```json "WriteTo": [ {"Name": "File", "Args": {"path": "%APPDATA%\\log.txt" }} ] ``` `"WriteTo"` accepts an array so that it's...
As part of https://github.com/serilog/serilog-sinks-map/issues/22, I ended up creating a custom extension method for my particular case, then configuring my appsettings to use it, adding the `Using` node in the json...
A partial fix for minimumlevel not being correctly overriden by higher priority providers. The fix only works for the .NET 4.6.1+ and .NET Standard builds as the IConfigurationRoot interface did...
I'd like to use the json configuration to configure the seq sink. However I need access to the switch in code, because I want to allow this to be changed...
Some combinations of configurations are known to be invalid, for example applying an `outputTemplate` and/or `theme` to the Console Sink in addition to ` formatter`. It would be useful to...
Checking for the minimum section returns `""` instead of null, so the logic doesn't get the value from `Default`
Affected versions of [email protected] are vulnerable to Insecure Defaults due to improper handling of StackOverFlow exception (SOE) whenever nested expressions are being processed. Exploiting this vulnerability results in Denial Of...
It would be helpful if there's a JSON schema we could link to in our own schema for appsettings.json for intellisense and validation. https://json.schemastore.org/appsettings