-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Reporting] Promote many debug
log events to info
#43241
Conversation
Pinging @elastic/kibana-stack-services |
💔 Build Failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
💚 Build Succeeded |
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, |
There was a problem hiding this comment.
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
There was a problem hiding this 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
* [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
* [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
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
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers