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

Tweak logging for clarity #123

Merged
merged 2 commits into from
Dec 8, 2016
Merged

Conversation

tduffield
Copy link
Contributor

Do not print an info message saying that we are loading tests from the
test_base_dir unless we actually are. This can be confusing for
first-time users who may not even have that directory (if they used
ChefDK to generate the .kitchen.yml). Rather, iterate through the
targets that we are testing and log those.

Signed-off-by: Tom Duffield tom@chef.io

@tduffield
Copy link
Contributor Author

cc/ @chris-rock

@tduffield tduffield force-pushed the tduffield/tweak-logging-for-clarity branch 4 times, most recently from ab71f7c to efb5063 Compare December 7, 2016 18:01
Do not print an info message saying that we are loading tests from the
test_base_dir unless we actually are. This can be confusing for
first-time users who may not even have that directory (if they used
ChefDK to generate the .kitchen.yml). Rather, iterate through the
targets that we _are_ testing and log those.

Signed-off-by: Tom Duffield <tom@chef.io>
@tduffield tduffield force-pushed the tduffield/tweak-logging-for-clarity branch from efb5063 to 26e01ec Compare December 7, 2016 20:46
@chris-rock chris-rock force-pushed the tduffield/tweak-logging-for-clarity branch from 09d3f4b to d9183ff Compare December 8, 2016 11:30
@chris-rock
Copy link
Collaborator

Awesome @tduffield I like to idea to show more logging via kitchen-inspec. On top of your commit I:

  • activated InSpec logger based on the kitchen log level
  • move the parsing of profile information to InSpec

If you need more details I rather like to fix that in InSpec, so that we do not duplicate parsing the information

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
@chris-rock chris-rock force-pushed the tduffield/tweak-logging-for-clarity branch from d9183ff to d60073c Compare December 8, 2016 12:37
@chris-rock
Copy link
Collaborator

@tduffield If you are okay with my changes, we can merge it

@tduffield tduffield merged commit 01adede into master Dec 8, 2016
@tduffield tduffield deleted the tduffield/tweak-logging-for-clarity branch December 8, 2016 13:32
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.

3 participants