diff options
author | cjihrig <cjihrig@gmail.com> | 2019-02-18 22:01:12 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-02-20 23:15:57 +0300 |
commit | 823c988b482e609978869820758b7182f32e9de5 (patch) | |
tree | 40f0445410b16afeec0e2e273e4890bb82e5e90e /doc/api/report.md | |
parent | 11a8a940d7bf03dc108082bdd456668210b949c1 (diff) |
report: remove verbose setting
This commit removes the --diagnostic-report-verbose CLI option
and all associated logic. The flag is currently only used in one
place, and only reflects the settings at startup. Additionally,
Node tends to use the NODE_DEBUG mechanism for adding verbose
output.
PR-URL: https://github.com/nodejs/node/pull/26195
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/report.md')
-rw-r--r-- | doc/api/report.md | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/doc/api/report.md b/doc/api/report.md index 8d6d054c0a1..419fe334173 100644 --- a/doc/api/report.md +++ b/doc/api/report.md @@ -401,9 +401,6 @@ written. * `--diagnostic-report-signal` Sets or resets the signal for report generation (not supported on Windows). Default signal is `SIGUSR2`. -* `--diagnostic-report-verbose` Flag that enables additional information to be -printed during report generation. - A report can also be triggered via an API call from a JavaScript application: ```js @@ -495,8 +492,7 @@ process.report.setOptions({ events: ['exception', 'fatalerror', 'signal'], signal: 'SIGUSR2', filename: 'myreport.json', - path: '/home/nodeuser', - verbose: true + path: '/home/nodeuser' }); ``` @@ -519,9 +515,6 @@ timestamp, PID and sequence number. URLs are not supported. Defaults to the current working directory of the Node.js process. -`verbose` specifies whether to print additional verbose messages -pertinent to the report generation. Defaults to `false`. - ```js // Trigger report only on uncaught exceptions. process.report.setOptions({ events: ['exception'] }); @@ -541,7 +534,7 @@ environment variables: NODE_OPTIONS="--experimental-report --diagnostic-report-uncaught-exception \ --diagnostic-report-on-fatalerror --diagnostic-report-on-signal \ --diagnostic-report-signal=SIGUSR2 --diagnostic-report-filename=./report.json \ - --diagnostic-report-directory=/home/nodeuser --diagnostic-report-verbose" + --diagnostic-report-directory=/home/nodeuser" ``` Specific API documentation can be found under |