Improve logging, add observability#79
Closed
khuisman wants to merge 1 commit into
Closed
Conversation
…he fix - Structured logging via logging.basicConfig; DEBUG env var enables verbose output with a direct handler that survives uvicorn's dictConfig override - Suppress sse_starlette keepalive ping noise at WARNING level - _timed decorator wraps each registered tool and logs elapsed time at DEBUG level - Pass cache_discovery=False to googleapiclient build() calls — the file-based discovery cache requires oauth2client<4.0 and is unused with google-auth Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
|
Closing as superseded for the stdio logging fix by #80. The timing/observability ideas are useful, but should come back as a separate PR after the stdout safety fix, with tests and without bundling function-wrapping changes into the logging patch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the following: