langgraph.json 文件中的 logging_headers 部分,选择为所有 API 调用启用请求头记录。
includes 和 excludes 列表接受精确的请求头名称,或使用 * 作为通配符(不区分大小写)来匹配任意数量字符的 glob 模式。出于安全考虑,不支持其他模式类型。
请注意,排除规则优先于包含规则。例如,如果您包含了 *-id 但排除了 x-user-id,则 x-user-id 请求头将不会被记录。
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

