Skip to content

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

Merged
behnazh-w merged 1 commit into
mainfrom
behnazh/remove-slsa-summary
Apr 23, 2025
Merged

refactor: log the SLSA summary in verbose mode only#1063
behnazh-w merged 1 commit into
mainfrom
behnazh/remove-slsa-summary

Conversation

@behnazh-w

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

Copy link
Copy Markdown
Member

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.

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@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
@behnazh-w behnazh-w deleted the behnazh/remove-slsa-summary branch July 22, 2025 02:16
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