Skip to content

Conversation

@cdcabrera
Copy link
Member

@cdcabrera cdcabrera commented Nov 30, 2025

What is it?

  • feat: log channels, avoid polluting stdout
    • docs, readme cli options for logging
    • lint, flag console methods to avoid stdio pollution
    • logger, use node diagnostics_channel for logs
    • options, context driven session id and log channel name
    • server.logger, mcp specific log wrappers
    • testing unit, move local env flag over to jest setup
    • testing e2e, allow mcp testing client to accept mcp server logs
    • typings, refactor for readonly session values

Notes

  • existing and future planned updates were leveraging console.log. log along with other console methods. these methods pollute communication via stdout
  • flags all offending console.[methods] in eslint
  • moves to a node diagnostics channel for unique or per app/server instance

Issues

Related #20
Merge after #27

* docs, readme cli options for logging
* lint, flag console methods to avoid stdio pollution
* logger, use node diagnostics_channel for logs
* options, context driven session id and log channel name
* server.logger, mcp specific log wrappers
* testing unit, move local env flag over to jest setup
* testing e2e, allow mcp testing client to accept mcp server logs
* typings, refactor for readonly session values
@cdcabrera cdcabrera marked this pull request as ready for review December 1, 2025 13:57
@cdcabrera cdcabrera merged commit cc82731 into patternfly:main Dec 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant