Skip to content

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Jul 13, 2020

For convenience the dev-utils/run helper uses the flags --silent, --quiet, --debug, and --verbose to indicate the log level that should be used for that script. In the functional test runner we wanted to default to a debug logging level so we set the default for the debug flag to true. This causes the lower logging levels to be ignored when determining the logging level to use as louder logging levels take precedence (the fact that we're using a default, and flag ordering are both not preserved).

To fix this the dev-utils/run helper now accepts a log.defaultLevel option, which will be used when none of the logging related flags are passed, allowing the FTR to default to debug level and switch to quiet as long as someone passes the --quiet flag.

@spalger spalger added Team:Operations Kibana-Operations Team v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.9.0 labels Jul 13, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@spalger spalger marked this pull request as ready for review July 13, 2020 22:02
@spalger spalger requested a review from a team as a code owner July 13, 2020 22:02
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@spalger spalger merged commit 42cb6a4 into elastic:master Jul 13, 2020
@spalger spalger deleted the fix/ftr-debug-flag branch July 13, 2020 22:16
spalger added a commit to spalger/kibana that referenced this pull request Jul 13, 2020
…stic#71535)

Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit that referenced this pull request Jul 13, 2020
#71535) (#71562)

Co-authored-by: spalger <spalger@users.noreply.github.com>
spalger added a commit to spalger/kibana that referenced this pull request Jul 17, 2020
…stic#71535)

Co-authored-by: spalger <spalger@users.noreply.github.com>
@spalger spalger added the v7.8.1 label Jul 17, 2020
spalger added a commit that referenced this pull request Jul 17, 2020
#71535) and [7.9] [kbn/dev-utils] add RunWithCommands utility (#72311) (#72346)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v7.8.1 v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants