File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
test/Grpc.IntegrationTests Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,15 @@ public GrpcSidecarFixture()
2828 // Use a random port number to allow multiple instances to run in parallel
2929 string address = $ "http://{ ListenHost } :{ Random . Shared . Next ( 30000 , 40000 ) } ";
3030 this . host = Host . CreateDefaultBuilder ( )
31+ . ConfigureLogging ( logging =>
32+ {
33+ // Reduce logging verbosity to make test output more readable and organized.
34+ // Filter out noisy ASP.NET Core and gRPC infrastructure logs while keeping
35+ // important DurableTask sidecar logs for debugging.
36+ logging . SetMinimumLevel ( LogLevel . Warning ) ;
37+ logging . AddFilter ( "Microsoft.DurableTask.Sidecar" , LogLevel . Information ) ;
38+ logging . AddFilter ( "Microsoft.Hosting.Lifetime" , LogLevel . Information ) ;
39+ } )
3140 . ConfigureWebHostDefaults ( webBuilder =>
3241 {
3342 webBuilder
You can’t perform that action at this time.
0 commit comments