Skip to content

[Reporting] Promote many debug log events to info #43241

Merged
tsullivan merged 8 commits intoelastic:masterfrom
tsullivan:reporting/logs-at-info-level
Aug 15, 2019
Merged

[Reporting] Promote many debug log events to info #43241
tsullivan merged 8 commits intoelastic:masterfrom
tsullivan:reporting/logs-at-info-level

Conversation

@tsullivan
Copy link
Copy Markdown
Member

@tsullivan tsullivan commented Aug 14, 2019

Summary

This PR will give users easier insight on events happening on the server during the Reporting lifecycle of creating and generating reports.

There are also a few side-effect changes of moving debug-level logs to be in-context to the helper functions, while remaining as debug level.

Release note: Promoted the logging level for many server-side Reporting events that are internal to job creation and execution. Previously, the logging level was "debug" and is now "info", which makes information about these events visible by default.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@tsullivan tsullivan added review zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead v8.0.0 Team:Stack Services v7.4.0 labels Aug 14, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-stack-services

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Copy link
Copy Markdown
Contributor

@bmcconaghy bmcconaghy left a comment

Choose a reason for hiding this comment

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

Code LGTM

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@tsullivan
Copy link
Copy Markdown
Member Author

ready for review

userDataDir,
viewport,
verboseLogging: this.callerLogger.isVerbose,
verboseLogging: this.logger.isVerbose,
Copy link
Copy Markdown
Member Author

@tsullivan tsullivan Aug 15, 2019

Choose a reason for hiding this comment

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

verboseLogging should just be removed: it is not a valid chromium arg.

I think I want to NOT do that in this PR

Copy link
Copy Markdown
Contributor

@Bamieh Bamieh left a comment

Choose a reason for hiding this comment

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

LGTM, i've added 1 comment/question

@tsullivan tsullivan merged commit 90892da into elastic:master Aug 15, 2019
@tsullivan tsullivan deleted the reporting/logs-at-info-level branch August 15, 2019 20:10
tsullivan added a commit to tsullivan/kibana that referenced this pull request Aug 15, 2019
* [Reporting] Move some log lines out of screenshots/index.ts

* promote some getScreenshots logs from debug to info

* promote some queue lifecycle event logs from debug to info

* Comments and renaming

* more info logging: csv from saved search

* rollback code changes to be done in future PR

* log success above error handling
tsullivan added a commit that referenced this pull request Aug 16, 2019
* [Reporting] Move some log lines out of screenshots/index.ts

* promote some getScreenshots logs from debug to info

* promote some queue lifecycle event logs from debug to info

* Comments and renaming

* more info logging: csv from saved search

* rollback code changes to be done in future PR

* log success above error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:enhancement review v7.4.0 v8.0.0 zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants