-
Notifications
You must be signed in to change notification settings - Fork 103
add skipLogCapture #355
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
add skipLogCapture #355
Conversation
lib/driver.js
Outdated
| this.localConfig = await setLocaleAndPreferences(this.sim, this.opts, this.isSafari(), endSimulator); | ||
| await this.startLogCapture(this.sim); | ||
| if (this.caps.skipLogCapture) { | ||
| logger.info("'skipLogCapture' is set. Skipping starting logs, crash and system."); |
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.
Skipping starting logs, crash and system. - this sentence looks confusing. Can we rephrase it?
lib/driver.js
Outdated
| await this.createInstruments(); | ||
| await runRealDeviceReset(this.realDevice, this.opts); | ||
| await this.startLogCapture(); | ||
| if (this.caps.skipLogCapture) { |
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.
Please move it to a common method to avoid unnecessary duplication
lib/driver.js
Outdated
|
|
||
| async setUpLogCapture () { | ||
| if (this.caps.skipLogCapture) { | ||
| logger.info("'skipLogCapture' is set. Skipping starting logs, crash and system."); |
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.
Skipping the collection of system logs and crash reports.
appium/appium#12203 (comment)