Skip to content

fix: change log level for tool execution errors #3846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YunKuiLu
Copy link
Contributor

@YunKuiLu YunKuiLu commented Jul 18, 2025

  • Changed log level for tool execution errors from DEBUG to ERROR.

When an exception is thrown during tool execution, an ERROR-level log should be printed to help users troubleshoot the issue.
Or, should we set DEFAULT_ALWAYS_THROW to true?

- Changed log level for tool execution errors from DEBUG to ERROR.

Signed-off-by: YunKui Lu <[email protected]>
@YunKuiLu
Copy link
Contributor Author

This log comes from my habit of enabling debug level logging for org.springframework during development, which helps quickly identify issues.
But if other developers aren't used to turning on debug logs within the Spring framework, they might end up spending a lot of time troubleshooting problems.

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.

1 participant