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

Environment resolution debug statements #607

Merged
merged 2 commits into from
Jul 12, 2023
Merged

Conversation

jpage-godaddy
Copy link
Contributor

@jpage-godaddy jpage-godaddy commented Jul 12, 2023

Summary

A frequent category of gasket support issues relates to figuring out why gasket is not using the config settings for the expected environment. This enables using the DEBUG environment variable to see various environment/config startup logging to explain what goes on when it comes to resolving configuration.

Changelog

  • Enable verbose logging during startup when DEBUG=gasket:* is set to explain environment config assignment.

Test Plan

Regression testing, making sure existing unit tests still pass

Enable verbose logging when `DEBUG=gasket:*` is set to explain environment config assignment.
@jpage-godaddy jpage-godaddy requested review from kinetifex and a team as code owners July 12, 2023 20:02
Copy link
Contributor

@agerard-godaddy agerard-godaddy left a comment

Choose a reason for hiding this comment

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

This is brilliant 🥇

@agerard-godaddy agerard-godaddy merged commit 74908b7 into main Jul 12, 2023
@agerard-godaddy agerard-godaddy deleted the startup-config-logging branch July 12, 2023 20:26
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.

4 participants