appsettings.json added

master
Nicolas FRANCO 2 years ago
parent 97aa0b5485
commit 2f7766f972

@ -37,6 +37,8 @@ builder.Services.AddControllers();
// Add the localization to the app and specify the resources path
builder.Services.AddLocalization(opts => { opts.ResourcesPath = "Resources"; });
builder.Logging.AddConfiguration(builder.Configuration.GetSection("Logging"));
// Configure the localtization
builder.Services.Configure<RequestLocalizationOptions>(options =>
{

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Trace",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
Loading…
Cancel
Save