Skip to content
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

Adds logging to detection #66

Merged
merged 2 commits into from
May 22, 2023
Merged

Adds logging to detection #66

merged 2 commits into from
May 22, 2023

Conversation

pivotal-david-osullivan
Copy link
Contributor

Summary

This PR adds additional logging when Detect returns false for this buildpack. This is to provide more information about why the detection failed for this buildpack when verbose/debug logging is enabled.

As of lifecycle v1.16.0, if the detect phase fails as a whole, log messages are printed at info level by default, without the need for the verbose flag.

Use Cases

Checklist

  • I have viewed, signed, and submitted the Contributor License Agreement.
  • I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
  • I have added an integration test, if necessary.
  • I have reviewed the styleguide for guidance on my code quality.
  • I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@pivotal-david-osullivan pivotal-david-osullivan added type:enhancement A general enhancement semver:patch A change requiring a patch version bump labels May 22, 2023
@pivotal-david-osullivan pivotal-david-osullivan requested a review from a team as a code owner May 22, 2023 14:02
@dmikusa dmikusa merged commit 27f8030 into main May 22, 2023
@dmikusa dmikusa deleted the detect-logging branch May 22, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants