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

(SUP-602) Update task for changing log level #30

Merged

Conversation

abottchen
Copy link
Collaborator

  • Added trace as a valid log level
  • shortened the parameter from peservice to service
  • added the dash back to the service names to make them match up with the actual service names at the OS level
  • Removed boilerplate comments
  • Removed the check for the target being a Puppet master, since this can be run against any mode type.
  • Fixed shellcheck errors

@jarretlavallee
Copy link
Contributor

Should we add WARN and ERROR as additional log levels to the enum? Some customers may want to limit the logging to higher levels after finishing debugging.

@abottchen
Copy link
Collaborator Author

@jarretlavallee I don't see any reason why not. I'll add them in. I'd rather customers run at info level, but I don't see why the task should be opinionated on this.

- Added trace as a valid log level
- shortened the parameter from peservice to service
- added the dash back to the service names to make them match up
with the actual service names at the OS level
- Removed boilerplate comments
- Removed the check for the target being a Puppet master, since this
can be run against any mode type.
- Fixed shellcheck errors
@abottchen abottchen force-pushed the fix-kb0009-metadata-and-service-names branch from a089efd to 6e0a09b Compare September 4, 2018 17:11
Copy link
Contributor

@jarretlavallee jarretlavallee left a comment

Choose a reason for hiding this comment

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

👍

@abottchen abottchen merged commit 9eab79c into puppetlabs:master Sep 4, 2018
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.

2 participants