question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Serilog setup does not include environment specific configuration files

See original GitHub issue

Hi 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:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
skorubacommented, Mar 25, 2020

dev

0reactions
ViRuSTriNiTycommented, Apr 20, 2020

PR merged, issue closed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found