diff options
author | Luke Karrys <luke@lukekarrys.com> | 2021-12-03 00:17:38 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2021-12-03 00:32:28 +0300 |
commit | cbae0fb71cea55004f7066c0dfc870137b53ee8b (patch) | |
tree | 6d2d36a0bdb8f9ed8a3e8b7a776804755d1f400e /tap-snapshots/test/lib/utils | |
parent | 31b098ee26ed17facb132278bb3205e80e2a760d (diff) |
docs: update description about where/when debug log is written
PR-URL: https://github.com/npm/cli/pull/4114
Credit: @lukekarrys
Close: #4114
Reviewed-by: @wraithgar
Diffstat (limited to 'tap-snapshots/test/lib/utils')
-rw-r--r-- | tap-snapshots/test/lib/utils/config/definitions.js.test.cjs | 4 | ||||
-rw-r--r-- | tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs index 069c8ec4f..84bb22ff0 100644 --- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs @@ -1087,8 +1087,8 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for logle * Type: "silent", "error", "warn", "notice", "http", "timing", "info", "verbose", or "silly" -What level of logs to report. On failure, *all* logs are written to -\`npm-debug.log\` in the current working directory. +What level of logs to report. All logs are written to a debug log, with the +path to that file printed if the execution of a command fails. Any logs of a higher level than the setting are shown. The default is "notice". diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs index 80d95f971..3db90f767 100644 --- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs @@ -888,8 +888,8 @@ Ideal if all users are on npm version 7 and higher. * Type: "silent", "error", "warn", "notice", "http", "timing", "info", "verbose", or "silly" -What level of logs to report. On failure, *all* logs are written to -\`npm-debug.log\` in the current working directory. +What level of logs to report. All logs are written to a debug log, with the +path to that file printed if the execution of a command fails. Any logs of a higher level than the setting are shown. The default is "notice". |