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

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

Merged
merged 8 commits into from
Aug 15, 2019

Conversation

tsullivan
Copy link
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 (Deprecated) 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
Contributor

Pinging @elastic/kibana-stack-services

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
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
Contributor

💚 Build Succeeded

@tsullivan
Copy link
Member Author

ready for review

const userDataDir = fs.mkdtempSync(path.join(os.tmpdir(), 'chromium-'));
const chromiumArgs = args({
userDataDir,
viewport,
verboseLogging: this.callerLogger.isVerbose,
verboseLogging: this.logger.isVerbose,
Copy link
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
Member

@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
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead release_note:enhancement review v7.4.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants