27 references to AddFilter
Aspire.Dashboard (9)
DashboardWebApplication.cs (9)
132
builder.Logging.
AddFilter
("Aspire.Dashboard", LogLevel.Debug);
136
builder.Logging.
AddFilter
("Grpc", LogLevel.Information);
137
builder.Logging.
AddFilter
("Aspire.Dashboard.Authentication", LogLevel.Information);
138
builder.Logging.
AddFilter
("Aspire.Dashboard.Otlp", LogLevel.Information);
139
builder.Logging.
AddFilter
("Microsoft", LogLevel.Information);
140
builder.Logging.
AddFilter
("Microsoft.AspNetCore.Cors", LogLevel.Warning);
141
builder.Logging.
AddFilter
("Microsoft.AspNetCore.Hosting.Diagnostics", LogLevel.Warning);
142
builder.Logging.
AddFilter
("Microsoft.AspNetCore.Routing.EndpointMiddleware", LogLevel.Warning);
143
builder.Logging.
AddFilter
("Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware", LogLevel.Warning);
Aspire.Hosting (8)
DistributedApplicationBuilder.cs (6)
137
_innerBuilder.Logging.
AddFilter
("Microsoft.Hosting.Lifetime", LogLevel.Warning);
138
_innerBuilder.Logging.
AddFilter
("Microsoft.AspNetCore.Server.Kestrel", LogLevel.Error);
139
_innerBuilder.Logging.
AddFilter
("Aspire.Hosting.Dashboard", LogLevel.Error);
140
_innerBuilder.Logging.
AddFilter
("Grpc.AspNetCore.Server.ServerCallHandler", LogLevel.Error);
144
_innerBuilder.Logging.
AddFilter
("Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService", LogLevel.None);
148
_innerBuilder.Logging.
AddFilter
("Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer", LogLevel.Warning);
ResourceBuilderExtensions.cs (2)
878
configure.
AddFilter
($"System.Net.Http.HttpClient.{healthCheckKey}.LogicalHandler", LogLevel.None);
879
configure.
AddFilter
($"System.Net.Http.HttpClient.{healthCheckKey}.ClientHandler", LogLevel.None);
Aspire.Hosting.Tests (2)
Dashboard\DashboardResourceTests.cs (1)
433
b.
AddFilter
("Aspire.Hosting.Dashboard", logLevel);
Utils\TestDistributedApplicationBuilder.cs (1)
114
builder.
AddFilter
("Aspire.Hosting", LogLevel.Trace);
Aspire.Playground.Tests (2)
Infrastructure\DistributedApplicationTestFactory.cs (2)
50
logging.
AddFilter
("Aspire", LogLevel.Trace);
51
logging.
AddFilter
(builder.Environment.ApplicationName, LogLevel.Trace);
CookiePolicySample (1)
Program.cs (1)
22
factory.
AddFilter
("Microsoft", LogLevel.Trace);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Logging\AcceptanceTests.cs (4)
110
.
AddFilter
("Microsoft.Hosting", LogLevel.Warning)
111
.
AddFilter
("Microsoft.Extensions.Hosting", LogLevel.Warning)
112
.
AddFilter
("Microsoft.AspNetCore", LogLevel.Warning)
113
.
AddFilter
("Microsoft.AspNetCore.HttpLogging", level)
Microsoft.Extensions.Telemetry.Tests (1)
Logging\ExtendedLoggerTests.cs (1)
647
builder.
AddFilter
(null, LogLevel.None);