mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix: reduce server log verbosity — skip session in instrument, defaul… (#7729)
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user