Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
logLevel: Remove invalid options
  • Loading branch information
WillBrock authored and christian-bromann committed Sep 8, 2018
1 parent 034dc7d commit 0bfca9e
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/BrowserObject.md
Expand Up @@ -70,7 +70,7 @@ console.log(browser.config);
waitforInterval: 250,
coloredLogs: true,
deprecationWarnings: true,
logLevel: 'verbose',
logLevel: 'debug',
baseUrl: 'http://localhost',
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
Expand Down
4 changes: 2 additions & 2 deletions docs/ConfigurationFile.md
Expand Up @@ -102,8 +102,8 @@ exports.config = {
// ===================
// Define all options that are relevant for the WebdriverIO instance here
//
// Level of logging verbosity: silent | verbose | command | data | result | error
logLevel: 'silent',
// Level of logging verbosity: trace | debug | info | warn | error
logLevel: 'info',
//
// If you only want to run your tests until a specific amount of tests have failed use
// bail (default is 0 - don't bail, run all tests).
Expand Down
2 changes: 1 addition & 1 deletion examples/appium/appium-draws-its-logo.js
Expand Up @@ -5,7 +5,7 @@ var webviewApp = path.resolve(__dirname, '..', '..', 'test', 'site', 'platforms'

var client = webdriverio.remote({
port: 4723,
logLevel: 'verbose',
logLevel: 'debug',
desiredCapabilities: {
platformName: 'iOS',
platformVersion: '8.4',
Expand Down
2 changes: 1 addition & 1 deletion examples/pageobject/wdio.conf.js
Expand Up @@ -32,7 +32,7 @@ exports.config = {
// ===================
// Define all options that are relevant for the WebdriverIO instance here
//
// Level of logging verbosity: silent | verbose | command | data | result | error
// Level of logging verbosity: trace | debug | info | warn | error
logLevel: 'trace',
logDir: __dirname,
//
Expand Down
4 changes: 2 additions & 2 deletions examples/wdio.conf.js
Expand Up @@ -95,8 +95,8 @@ exports.config = {
// e.g. using promises you can set the sync option to false.
sync: true,
//
// Level of logging verbosity: silent | verbose | command | data | result | error
logLevel: 'silent',
// Level of logging verbosity: trace | debug | info | warn | error
logLevel: 'info',
//
// Enables colors for log output.
coloredLogs: true,
Expand Down
2 changes: 1 addition & 1 deletion examples/wdio/cucumber/wdio.conf.js
Expand Up @@ -23,7 +23,7 @@ exports.config = {
/**
* test configurations
*/
logLevel: 'silent',
logLevel: 'error',
framework: 'cucumber',

reporters: ['dot'],
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-cli/src/config.js
Expand Up @@ -284,7 +284,7 @@ export const QUESTIONNAIRE = [{
type: 'list',
name: 'logLevel',
message: 'Level of logging verbosity',
default: 'silent',
default: 'info',
choices: LOG_LEVELS
}, {
type: 'input',
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-cli/src/templates/wdio.conf.tpl.ejs
Expand Up @@ -92,7 +92,7 @@ exports.config = {
// e.g. using promises you can set the sync option to false.
sync: true,
//
// Level of logging verbosity: silent | verbose | command | data | result | error
// Level of logging verbosity: trace | debug | info | warn | error
logLevel: '<%= answers.logLevel %>',
//
// Warns when a deprecated command is used
Expand Down
2 changes: 1 addition & 1 deletion packages/wdio-config/src/constants.js
Expand Up @@ -9,7 +9,7 @@ export const DEFAULT_CONFIGS = {
suites: {},
exclude: [],
logDir: undefined,
logLevel: 'trace',
logLevel: 'info',
deprecationWarnings: true,
baseUrl: undefined,
bail: 0,
Expand Down
4 changes: 2 additions & 2 deletions packages/wdio-config/tests/validateConfig.test.js
Expand Up @@ -55,7 +55,7 @@ describe('validateConfig', () => {
expect(() => validateConfig({
logLevel: {
type: 'string',
default: 'silent',
default: 'trace',
match: /(trace|debug|info|warn|error)/
}
}, {
Expand All @@ -65,7 +65,7 @@ describe('validateConfig', () => {
expect(validateConfig({
logLevel: {
type: 'string',
default: 'silent',
default: 'trace',
match: /(trace|debug|info|warn|error)/
}
}, {
Expand Down
4 changes: 2 additions & 2 deletions packages/webdriver/README.md
Expand Up @@ -53,8 +53,8 @@ Required: `true`
Level of logging verbosity.

Type: `String`<br>
Default: *silent*<br>
Options: *silent* | *error* | *warn* | *info* | *debug*
Default: *info*<br>
Options: *trace* | *debug* | *info* | *warn* | *error*

### logOutput
Pipe logs into a file.
Expand Down
2 changes: 1 addition & 1 deletion packages/webdriver/src/constants.js
Expand Up @@ -48,7 +48,7 @@ const DEFAULTS = {
*/
logLevel: {
type: 'string',
default: 'silent',
default: 'info',
match: /(trace|debug|info|warn|error)/
},
/**
Expand Down

0 comments on commit 0bfca9e

Please sign in to comment.