Skip to content

Commit ca28221

Browse files
wraithgarisaacs
authored andcommitted
fix(docs): link foreground-scripts w/ loglevel
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
1 parent aafe235 commit ca28221

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docs/content/using-npm/config.md

+2
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ What level of logs to report. On failure, *all* logs are written to
776776
Any logs of a higher level than the setting are shown. The default is
777777
"notice".
778778

779+
See also the `foreground-scripts` config.
780+
779781
#### `logs-max`
780782

781783
* Default: 10

lib/utils/config/definitions.js

+2
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,8 @@ define('loglevel', {
11281128
11291129
Any logs of a higher level than the setting are shown. The default is
11301130
"notice".
1131+
1132+
See also the \`foreground-scripts\` config.
11311133
`,
11321134
})
11331135

tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,8 @@ What level of logs to report. On failure, *all* logs are written to
655655
Any logs of a higher level than the setting are shown. The default is
656656
"notice".
657657
658+
See also the \`foreground-scripts\` config.
659+
658660
#### \`logs-max\`
659661
660662
* Default: 10

0 commit comments

Comments
 (0)