diff --git a/lib/appium.js b/lib/appium.js index 8695d1475..0a053de20 100644 --- a/lib/appium.js +++ b/lib/appium.js @@ -334,14 +334,14 @@ class AppiumDriver extends BaseDriver { } if (!_.isEmpty(this.args.denyInsecure)) { - log.info(`Explicitly preventing use of insecure features ` + - `${JSON.stringify(this.args.allowInsecure)} for this server`); + log.info('Explicitly preventing use of insecure features:'); + this.args.denyInsecure.map((a) => log.info(` ${a}`)); d.denyInsecure = this.args.denyInsecure; } if (!_.isEmpty(this.args.allowInsecure)) { - log.info(`Enabling insecure features ${JSON.stringify(this.args.allowInsecure)} ` + - `for this server (unless denied by --deny-insecure)`); + log.info('Explicitly enabling use of insecure features:'); + this.args.allowInsecure.map((a) => log.info(` ${a}`)); d.allowInsecure = this.args.allowInsecure; }