improved logging

This commit is contained in:
2021-04-19 13:14:30 +02:00
parent beaf00a043
commit fefd348930
3 changed files with 32 additions and 10 deletions

View File

@@ -14,9 +14,7 @@ namespace FarmmapsVRApoten
protected override void Configure(IServiceCollection serviceCollection)
{
serviceCollection.AddLogging(opts => opts
.AddConsole()
.AddFilter("System.Net.Http", LogLevel.Warning))
serviceCollection.AddLogging()
.AddTransient<PotenService>();
}
}