Serilog setup does not include environment specific configuration files
See original GitHub issueHi there,
i would like to add environment specific configuration files like serilog.Development.json
or serilog.Staging.json
. Currently only serilog.json
is added hence environment specific configuration files cannot be used.
I can provide a PR. What do you say?
So lonG Daniel
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Environment variables not working in Serilog configuration
We need to be able to use environment variable in appsettings.json (json) file, just like it's enabled in the appsettings.config (XML) files. – ......
Read more >configuration overriding problem · Issue #70 · serilog ...
Hi, I have following serilog config in appsettings.json: "Serilog": ... there's no way for a more specific config file to turn it off....
Read more >A Serilog configuration provider that reads from Microsoft. ...
A Serilog settings provider that reads from Microsoft.Extensions.Configuration sources, including .NET Core's appsettings.json file.
Read more >Setting up Serilog in ASP.NET Core - Detailed Beginner ...
This article covers the implementation of Serilog in ASP.NET Core which provides structured logging that is easier to be read by programs.
Read more >Setting up Serilog in ASP.NET Core 3
TL; DR: I've put down everything I can think of about getting set up for successful production diagnostics using Serilog and ASP.NET Core....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
dev
PR merged, issue closed