Skip to content

Commit 1b8214d

Browse files
Filter Titanium.Web.Proxy Info-level logs to suppress "Adding endpoint" startup noise (#1575)
* Initial plan * Add log filter to suppress Titanium.Web.Proxy Info messages Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
1 parent 6ea59ab commit 1b8214d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

DevProxy/Extensions/ILoggingBuilderExtensions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public static ILoggingBuilder ConfigureDevProxyLogging(
6969
.AddFilter("Microsoft.AspNetCore.*", LogLevel.Error)
7070
.AddFilter("Microsoft.Extensions.*", LogLevel.Error)
7171
.AddFilter("System.*", LogLevel.Error)
72+
.AddFilter("Titanium.Web.Proxy.*", LogLevel.Warning)
7273
// Only show plugin messages when no global options are set
7374
.AddFilter("DevProxy.Plugins.*", level =>
7475
level >= configuredLogLevel &&
@@ -106,6 +107,7 @@ public static ILoggingBuilder ConfigureDevProxyLogging(
106107
.AddFilter("Microsoft.AspNetCore.*", LogLevel.Error)
107108
.AddFilter("Microsoft.Extensions.*", LogLevel.Error)
108109
.AddFilter("System.*", LogLevel.Error)
110+
.AddFilter("Titanium.Web.Proxy.*", LogLevel.Warning)
109111
.AddFilter("DevProxy.Plugins.*", LogLevel.None)
110112
.AddConsole(consoleOptions =>
111113
{

0 commit comments

Comments
 (0)