You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: implement AWS Lambda compatible JSON logging
Replace RequestContextFormatter with AWS Lambda JSON format:
- Add structured JSON output with timestamp, level, message, logger fields
- Include requestId and sessionId when available
- Add exception handling with errorType, errorMessage, stackTrace, location
- Update exception logging to use logger.exception() for proper capture
- Update tests to validate JSON format structure
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* fix: eliminate duplicate exception logging in handler chain
Change _invoke_handler exception logging from ERROR to DEBUG level to prevent
duplicate logs when exceptions bubble up to _handle_invocation. The outer handler
provides better context with timing information.
Before: Two identical ERROR logs for same exception
After: Single ERROR log with duration metrics
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* fix: enable debug mode in integration test to resolve timeout
Add debug=True to BedrockAgentCoreApp in test_simple_agent.py to enable
verbose logging that will help identify the root cause of the 5-minute
timeout in CI integration tests.
This provides better visibility into server startup issues.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Abhimanyu Siwach <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments