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

Logging in profile processing #349

Closed
srenatus opened this issue Jan 6, 2016 · 1 comment
Closed

Logging in profile processing #349

srenatus opened this issue Jan 6, 2016 · 1 comment
Assignees
Labels
Type: Bug Feature not working as expected
Milestone

Comments

@srenatus
Copy link
Contributor

srenatus commented Jan 6, 2016

With #347, it turns out that using inspec check on a profile (path) that has an inspec.yml with the undocumented old-style

supports:
  - linux

this line is not actually output. Somewhere in the call chain, something may be wrong with passing the logger argument.

@srenatus srenatus added the Type: Bug Feature not working as expected label Jan 6, 2016
@chris-rock chris-rock added this to the 0.9.11 milestone Jan 25, 2016
@srenatus
Copy link
Contributor Author

So with #347, inspec check never hits "that line". That said, inspec exec does, and there's no output. So this issue is still valid, I'm investigating.

srenatus added a commit that referenced this issue Jan 27, 2016
This change tries hard to stay backward compatible: if you ask for JSON
output, you will NOT get any logging.

Fixes #349.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants