Skip to content

[Reporting] Ensure Chromium is always launched with args to create chrome_debug.log#45479

Merged
tsullivan merged 6 commits intoelastic:masterfrom
tsullivan:reporting/chromium-always-verbose
Sep 23, 2019
Merged

[Reporting] Ensure Chromium is always launched with args to create chrome_debug.log#45479
tsullivan merged 6 commits intoelastic:masterfrom
tsullivan:reporting/chromium-always-verbose

Conversation

@tsullivan
Copy link
Member

@tsullivan tsullivan commented Sep 11, 2019

Summary

Closes #45214

Unfortunately when Reporting launches Chromium to run a screenshot job, it does not include the arguments to append verbose logs to chrome_debug.log. Enabling verbose logging in Kibana config would not address it.

Fortunately, there always would be a chrome_debug file created when Kibana starts up, and verbose logs would be appended to it, because of the self-check at startup. The self-check hardcoded the verbose logging flags in the launch args.

Checklist

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

@tsullivan tsullivan added review zDeprecated Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.5.0 Feature:Stack Monitoring labels Sep 11, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@joelgriffith joelgriffith left a comment

Choose a reason for hiding this comment

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

Looks good, will be a lot better to have these logs always.

@tsullivan tsullivan merged commit db1599d into elastic:master Sep 23, 2019
@tsullivan tsullivan deleted the reporting/chromium-always-verbose branch September 23, 2019 23:29
tsullivan added a commit to tsullivan/kibana that referenced this pull request Sep 23, 2019
…rome_debug.log (elastic#45479)

* remove isVerbose from logger object

* Remove verboseLogging from chromium args

* fix typescript
tsullivan added a commit that referenced this pull request Sep 25, 2019
…rome_debug.log (#45479) (#46406)

* remove isVerbose from logger object

* Remove verboseLogging from chromium args

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

Labels

Feature:Stack Monitoring release_note:skip Skip the PR/issue when compiling release notes review v7.5.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.

[Reporting] Make sure that Chromium always creates a log file

3 participants