Skip to content

src: lava_callback: improve logging #1159

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

Merged
merged 1 commit into from
May 21, 2025

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented May 21, 2025

As this service is actually just a FastAPI app, only the use of the uvicorn logger can allow us to print messages.

Take this opportunity to replace undifferenciated prints with proper logs w/ severity and set log level to `debug`` by default.

As this service is actually just a FastAPI app, only the use of the
uvicorn logger can allow us to print messages.

Take this opportunity to replace undifferenciated `print`s with proper
logs w/ severity and set log level to `debug`` by default.

Signed-off-by: Arnaud Ferraris <[email protected]>
@a-wai
Copy link
Contributor Author

a-wai commented May 21, 2025

Merging as it works as expected, see logs for kernelci-pipeline-lava-callback on https://staging.kernelci.org:9088

@a-wai a-wai added this pull request to the merge queue May 21, 2025
Merged via the queue into kernelci:main with commit 074780a May 21, 2025
4 checks passed
@a-wai a-wai deleted the lava-callback-improve-logging branch May 21, 2025 13:07
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