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/Logging] truncate base64 urls in logs #41304

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

tsullivan
Copy link
Member

@tsullivan tsullivan commented Jul 16, 2019

Summary

Helping folks diagnose Reporting for Canvas came with a headache of looking at logs: Canvas images are added by the user as uploads, and those images are represented as base64 in the browser. The Reporting verbose logger logs every request made as a result of loading a page, and the log is containing long strings of text that slow down the process of copying, pasting and finding things in the log text.

Closes #41297

Result:
image

Release note:
Added an enhancement that truncates long data: URLs in Kibana Reporting's verbose logs.

Checklist

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

@tsullivan tsullivan added release_note:enhancement review (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead v8.0.0 v7.4.0 labels Jul 16, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@tsullivan tsullivan merged commit 21a0455 into elastic:master Jul 17, 2019
@tsullivan tsullivan deleted the reporting/no-log-base64 branch July 17, 2019 15:36
tsullivan added a commit to tsullivan/kibana that referenced this pull request Jul 17, 2019
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.

[Reporting/Logging] Verbose logging should not log base64 strings
3 participants