disable aspnet logging
This commit is contained in:
parent
f70ff1f358
commit
3cbfd0c478
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Builder;
|
|||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using StartGrpc;
|
||||
|
||||
namespace netsd.Handlers;
|
||||
|
@ -21,6 +22,8 @@ public class Init
|
|||
});
|
||||
});
|
||||
|
||||
_socketBuilder.Logging.ClearProviders();
|
||||
|
||||
_socketBuilder.Services.AddGrpc();
|
||||
|
||||
var app = _socketBuilder.Build();
|
||||
|
|
Reference in a new issue