nlog: fixed config
This commit is contained in:
parent
ee27ad4437
commit
ab5de603c1
@ -34,7 +34,7 @@ public static class ConfigurationManagerExtension
|
||||
{
|
||||
config
|
||||
.AddJsonFile("elastic.json", optional: false, reloadOnChange: true)
|
||||
.AddJsonFile($"elastic.{env.EnvironmentName}.json", optional: false, reloadOnChange: true);
|
||||
.AddJsonFile($"elastic.{env.EnvironmentName}.json", optional: true, reloadOnChange: true);
|
||||
|
||||
return config;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user