Skip to content

feat: add structlog to uninstrumented runner and agent modules#374

Open
lukeinglis wants to merge 1 commit into
akashgit:mainfrom
lukeinglis:feat/structlog-instrumentation
Open

feat: add structlog to uninstrumented runner and agent modules#374
lukeinglis wants to merge 1 commit into
akashgit:mainfrom
lukeinglis:feat/structlog-instrumentation

Conversation

@lukeinglis
Copy link
Copy Markdown
Collaborator

@lukeinglis lukeinglis commented May 25, 2026

Summary

  • Add structured logging to 4 modules on the agent invocation path: runners/__init__.py, runners/_stream.py, agents/plugin.py, mcp_server.py
  • 13 log statements covering runner selection, stream lifecycle, plugin registration, and MCP tool calls
  • MCP tool arguments logged at DEBUG level (not INFO) to avoid leaking sensitive data

Closes #354

Add structured logging to 4 modules on the agent invocation path:
runners/__init__.py, runners/_stream.py, agents/plugin.py, mcp_server.py.
13 log statements covering runner selection, stream lifecycle, plugin
registration, and MCP tool calls.

Addresses akashgit#354

Signed-off-by: Luke Inglis <lukeinglis21@yahoo.com>
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.

Add structlog to uninstrumented runner and agent modules

1 participant