Filter Titanium.Web.Proxy Info-level logs to suppress "Adding endpoint" startup noise#1575
Merged
garrytrinder merged 2 commits intomainfrom Mar 2, 2026
Merged
Conversation
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Change 'Adding endpoint' log message severity to Debug
Filter Titanium.Web.Proxy Info-level logs to suppress "Adding endpoint" startup noise
Mar 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Suppresses noisy Info-level startup logs emitted by the Unobtanium/Titanium proxy engine so Dev Proxy’s console output stays focused on user-relevant “listening on…” messages.
Changes:
- Adds a logging filter for
Titanium.Web.Proxy.*atWarninglevel in the root-command logging configuration. - Adds the same filter in the subcommand logging configuration path.
garrytrinder
approved these changes
Mar 2, 2026
Contributor
garrytrinder
left a comment
There was a problem hiding this comment.
Built and tested in detached mode. Titanium.Web.Proxy 'Adding endpoint' info logs are now correctly suppressed — no Titanium noise in the log file, proxy starts normally. Minimal, targeted change. LGTM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unobtanium.Web.Proxy(Titanium.Web.Proxynamespace) logsAdding endpoint at Ip 127.0.0.1 and port: 0atInfolevel viaProxyServer.AddEndPoint(). Since dev-proxy passes itsILoggerFactorytoProxyServer, this internal detail surfaces in default console output alongside the more meaningfulDev Proxy listening on...message.Changes
DevProxy/Extensions/ILoggingBuilderExtensions.cs: Add.AddFilter("Titanium.Web.Proxy.*", LogLevel.Warning)to both the root command and subcommand logging configuration paths, consistent with the existing suppression pattern forMicrosoft.Hosting.*,Microsoft.AspNetCore.*, etc.Warnings and errors from Unobtanium remain visible; only the
Info-level endpoint registration noise is suppressed.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.