serilog-settings-configuration icon indicating copy to clipboard operation
serilog-settings-configuration copied to clipboard

A Serilog configuration provider that reads from Microsoft.Extensions.Configuration

Results 58 serilog-settings-configuration issues
Sort by recently updated
recently updated
newest added

My config file references a sink that is not included in my project - I would have expected that the call to `ReadFrom.Configuration` throws some sort of error - but...

Some sinks contain configuration properties/arguments that are delegate types (`Action`, `Func`). The `StringArgumentValue` class already supports static field and property accessors for non-delegate types, and can be extended to support...

Unable to load dynamically .dll to .asp net core app. Steps to reproduce: -create default asp net core web api app and add Serilog.AspNetCore and Serilog.Settings.Configuration packages -update CreateHostBuilder ```...

I need to override dynamic values like host or service name coming from datadog appsettings.json Here is my configuration: "Serilog": { "Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.Datadog.Logs" ], "MinimumLevel": "Debug", "WriteTo": [...

I try to use string[] in Args section but the values is not map to the config option. ``` "WriteTo":[ { "Name": "Elasticsearch", "Args": { "indexAliases": ["logstash"] } } ]...

enhancement

I'm using Serilog.Settings.Configuration to configure Serilog, and I came across an issue. If I have an IConfiguration that consists of the Serilog-section, how can I configure Serilog with it? `ConfigurationLoggerConfigurationExtensions.ConfigurationSection`...

When using multiple appsettings.json files, the "WriteTo" section appears to a full replacement by the overriding appsetting json file. ``` .Net Core 3.1 Serilog.AspNetCore Version="3.4.0" Serilog.Enrichers.Environment Version="2.1.3" Serilog.Enrichers.Process Version="2.0.1" Serilog.Enrichers.Thread...

Path for log files is in my config and I want to print that path in the console. I understand it is possible to get the path by deriving from...