Skip to content

test: improve itk logging#325

Open
kdziedzic70 wants to merge 1 commit intomainfrom
dziedzick/improve-itk-logging
Open

test: improve itk logging#325
kdziedzic70 wants to merge 1 commit intomainfrom
dziedzick/improve-itk-logging

Conversation

@kdziedzic70
Copy link
Copy Markdown
Contributor

New version of itk https://github.com/a2aproject/a2a-samples/releases/tag/itk-v.015-alpha improves log readabiulity for debugging by spliting the logs of individual tested agents into separate files if the ITK_LOG_LEVEL environmental variable is set to "DEBUG"

This PR integrates the change into python's sdk CI and updates the instruction on how to set debugging mode for tests

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces configurable logging for the ITK service, enabling log level control via environment variables and providing detailed request/call logging for both HTTP and gRPC interfaces. It also updates documentation and scripts to support a new debugging workflow involving a mounted logs directory. Feedback was provided regarding the loggingMiddleware implementation, which incorrectly uses slog positional arguments and fails to stop request processing if the body cannot be read, potentially leading to downstream errors.

Comment thread itk/main.go
@kdziedzic70 kdziedzic70 force-pushed the dziedzick/improve-itk-logging branch from fba79fc to 6cf441f Compare April 17, 2026 10:30
@kdziedzic70 kdziedzic70 changed the title feat: improve itk logging test: improve itk logging Apr 17, 2026
@kdziedzic70 kdziedzic70 requested review from yarolegovich and removed request for yarolegovich April 17, 2026 10:31
@kdziedzic70 kdziedzic70 force-pushed the dziedzick/improve-itk-logging branch from 6cf441f to 7a281bc Compare April 17, 2026 10:36
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