Skip to content

Commit

Permalink
fix(docs): link foreground-scripts w/ loglevel
Browse files Browse the repository at this point in the history
Since loglevel is the first place people usually look to find out why
their scripts have no output when they are in the background, this will
help point them to the config that addresses that situation.

PR-URL: #3360
Credit: @wraithgar
Close: #3360
Reviewed-by: @isaacs
  • Loading branch information
wraithgar authored and isaacs committed Jun 3, 2021
1 parent aafe235 commit ca28221
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ What level of logs to report. On failure, *all* logs are written to
Any logs of a higher level than the setting are shown. The default is
"notice".

See also the `foreground-scripts` config.

#### `logs-max`

* Default: 10
Expand Down
2 changes: 2 additions & 0 deletions lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,8 @@ define('loglevel', {
Any logs of a higher level than the setting are shown. The default is
"notice".
See also the \`foreground-scripts\` config.
`,
})

Expand Down
2 changes: 2 additions & 0 deletions tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,8 @@ What level of logs to report. On failure, *all* logs are written to
Any logs of a higher level than the setting are shown. The default is
"notice".
See also the \`foreground-scripts\` config.
#### \`logs-max\`
* Default: 10
Expand Down

0 comments on commit ca28221

Please sign in to comment.