Skip to content

Commit

Permalink
Merge pull request #734 from brave/vmodule
Browse files Browse the repository at this point in the history
Support --vmodule for verbose logging from specific modules
  • Loading branch information
bbondy authored Aug 31, 2018
2 parents 522c3e8 + 12e22df commit 06b0cc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const start = (buildConfig = config.defaultBuildConfig, options) => {
'--enable-logging',
'--v=' + options.v,
]
if (options.vmodule) {
braveArgs.push('--vmodule=' + options.vmodule);
}
if (options.no_sandbox) {
braveArgs.push('--no-sandbox')
}
Expand Down
1 change: 1 addition & 0 deletions build/scripts/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ program
program
.command('start')
.option('--v [log_level]', 'set log level to [log_level]', parseInt, '0')
.option('--vmodule [modules]', 'verbose log from specific modules')
.option('--user_data_dir_name [base_name]', 'set user data directory base name to [base_name]', 'brave-development')
.option('--no_sandbox', 'disable the sandbox')
.option('--disable_brave_extension', 'disable loading the Brave extension')
Expand Down

0 comments on commit 06b0cc3

Please sign in to comment.