Reactivated old asp.net logs. Fixed empty config bug in the oauth2service

This commit is contained in:
Marcel Baumgartner
2023-05-21 23:00:23 +02:00
parent a2af6a794f
commit f8fdc22bb0
2 changed files with 5 additions and 2 deletions

View File

@@ -46,8 +46,8 @@ namespace Moonlight
// Switch to logging.net injection
// TODO: Enable in production
builder.Logging.ClearProviders();
builder.Logging.AddProvider(new LogMigratorProvider());
//builder.Logging.ClearProviders();
//builder.Logging.AddProvider(new LogMigratorProvider());
// Add services to the container.
builder.Services.AddRazorPages();