Skip to content

Conversation

@sparkstr
Copy link

This is to allow a logging level to be passed when calling methods for the rundeck API to change the level on API calls. Not providing a log level when using the methods will default the log level to the level of the entire script. Any existing external implementations will not be impacted.

Currently there is a single method run_job() that takes a parameter log_level and does nothing with it. With this pull request it implements any log level changes that are desired.

Add the ability to hide the API calls/results in the log by changing the log level on method call.
Not passing in a log_level when calling the method defaults the log level to whatever the upper script's log level is.
@pschmitt
Copy link
Owner

Please rebase this PR on the current master.

@sparkstr sparkstr changed the base branch from pyup-update-requests-2.23.0-to-2.24.0 to master February 12, 2021 23:06
@sparkstr
Copy link
Author

Updated PR to point at master

@pschmitt
Copy link
Owner

That's not how rebasing works @sparkstr ;)

See the conflicts.

@pschmitt pschmitt added the needs-rebase PR needs to be rebase against the current master label Apr 20, 2021
Copy link
Owner

@pschmitt pschmitt left a comment

Choose a reason for hiding this comment

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

Rebase, please.

@emersonyh
Copy link
Collaborator

When we finish with #64 I'll help to rebase this one if that's ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase PR needs to be rebase against the current master

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants