diff options
author | Kenan Yildirim <kenan@kenany.me> | 2017-09-04 17:45:48 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-09-14 21:39:53 +0300 |
commit | b2ab6f43b8ae645134238acd8dd3083e5ba8846e (patch) | |
tree | f90dda08d17bb22350182b4ff51c08ef5c575471 | |
parent | 5bd0244eec347ce435e88ff12148c35da7c69efe (diff) |
doc: add "notice" loglevel and correct the default
The "notice" loglevel was added and made the default in `npm@5`, but the
docs were not updated to this change. This patch updates the loglevel
docs to the new default and adds "notice" to the list of possible
values.
I don't know how to describe "notice" so I just left it at that.
PR-URL: https://github.com/npm/npm/pull/18397
Credit: @KenanY
Reviewed-By: @iarna
-rw-r--r-- | doc/misc/npm-config.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 102bb10ca..dcfe8bdbd 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -583,15 +583,15 @@ to the npm registry. Must be IPv4 in versions of Node prior to 0.12. ### loglevel -* Default: "warn" +* Default: "notice" * Type: String -* Values: "silent", "error", "warn", "http", "info", "verbose", "silly" +* Values: "silent", "error", "warn", "notice", "http", "timing", "info", + "verbose", "silly" What level of logs to report. On failure, *all* logs are written to `npm-debug.log` in the current working directory. -Any logs of a higher level than the setting are shown. -The default is "warn", which shows warn and error output. +Any logs of a higher level than the setting are shown. The default is "notice". ### logstream |