Skip to content

refactor: log the SLSA summary in verbose mode only #1063

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
Apr 23, 2025

Conversation

behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Apr 23, 2025

Summary

Refactor logging behavior to print the SLSA summary only when verbose mode is enabled. We can revisit if the summary should be removed or improved in the verbose mode in the future.

Description of changes

This PR updates the logging to ensure the SLSA summary is printed only when the application is run in verbose mode. Previously, the summary was always printed regardless of the verbosity level, which could result in unnecessary output in standard use cases.

This change helps reduce noise in the logs for users who do not require detailed internal information, while still allowing full visibility during debugging or detailed inspection when verbose mode is explicitly enabled.

@behnazh-w behnazh-w requested a review from tromai as a code owner April 23, 2025 01:07
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 23, 2025
@behnazh-w behnazh-w merged commit 66c04ab into main Apr 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants