You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use always-on loggers for operational and security messages
Promote DEBUG-gated logUnified.Printf calls to always-on loggers where
the messages are operationally important or security-relevant:
- logger.LogInfo("startup", ...) for DIFC enable/disable status and
server start messages
- logger.LogInfo("backend", ...) for tool registration lifecycle
- logger.LogWarn("difc", ...) for DIFC access denials, guard labeling
failures, response labeling failures, and strict-mode blocks
Keep logUnified.Printf for verbose debug traces (agent labels, resource
details, filtering counts, etc.).
Agent-Logs-Url: https://github.com/github/gh-aw-mcpg/sessions/1dd01357-8468-43c0-a1a8-f79af584b3fa
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
0 commit comments