Skip to content

Conversation

@KazuCocoa
Copy link
Contributor

@KazuCocoa
Copy link
Contributor Author

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.");
Copy link
Contributor

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

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.");
Copy link
Contributor

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.

@KazuCocoa KazuCocoa merged commit 0898db9 into appium-boneyard:master Feb 27, 2019
@KazuCocoa KazuCocoa deleted the add-skip-log-capture branch February 27, 2019 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants