fix: reduce server log verbosity — skip session in instrument, defaul… (#7729)

This commit is contained in:
jeffa-block
2026-03-09 23:50:49 +11:00
committed by GitHub
parent 1f77839094
commit 9ab5c45e3a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ pub fn setup_logging(name: Option<&str>) -> Result<()> {
let base_env_filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| {
EnvFilter::new("")
.add_directive("mcp_client=info".parse().unwrap())
.add_directive("goose=debug".parse().unwrap())
.add_directive("goose=info".parse().unwrap())
.add_directive("goose_server=info".parse().unwrap())
.add_directive("tower_http=info".parse().unwrap())
.add_directive(LevelFilter::WARN.into())
+1 -1
View File
@@ -495,7 +495,7 @@ impl Agent {
}
/// Dispatch a single tool call to the appropriate client
#[instrument(skip(self, tool_call, request_id), fields(input, output))]
#[instrument(skip(self, tool_call, request_id, session), fields(input, output, session_id = %session.id))]
pub async fn dispatch_tool_call(
&self,
tool_call: CallToolRequestParams,