Archived
0
0
Fork 0

disable aspnet logging

This commit is contained in:
Daryl Ronningen 2022-11-17 00:12:01 -08:00
parent f70ff1f358
commit 3cbfd0c478
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core; using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using StartGrpc; using StartGrpc;
namespace netsd.Handlers; namespace netsd.Handlers;
@ -21,6 +22,8 @@ public class Init
}); });
}); });
_socketBuilder.Logging.ClearProviders();
_socketBuilder.Services.AddGrpc(); _socketBuilder.Services.AddGrpc();
var app = _socketBuilder.Build(); var app = _socketBuilder.Build();