mirror of
https://github.com/anchore/grype
synced 2024-11-10 06:34:13 +00:00
docs: fix logging configuration in README (#1646)
Signed-off-by: plavy <tinplavec@gmail.com>
This commit is contained in:
parent
55ef6b6108
commit
89610e1e07
1 changed files with 13 additions and 13 deletions
26
README.md
26
README.md
|
@ -577,12 +577,12 @@ An example `config.json` looks something like this:
|
|||
```
|
||||
// config.json
|
||||
{
|
||||
"auths": {
|
||||
"registry.example.com": {
|
||||
"username": "AzureDiamond",
|
||||
"password": "hunter2"
|
||||
}
|
||||
}
|
||||
"auths": {
|
||||
"registry.example.com": {
|
||||
"username": "AzureDiamond",
|
||||
"password": "hunter2"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -683,10 +683,6 @@ fail-on-severity: ""
|
|||
# same as -o ; GRYPE_OUTPUT env var
|
||||
output: "table"
|
||||
|
||||
# suppress all output (except for the vulnerability list)
|
||||
# same as -q ; GRYPE_QUIET env var
|
||||
quiet: false
|
||||
|
||||
# write output report to a file (default is to write to stdout)
|
||||
# same as --file; GRYPE_FILE env var
|
||||
file: ""
|
||||
|
@ -794,9 +790,13 @@ registry:
|
|||
|
||||
|
||||
log:
|
||||
# use structured logging
|
||||
# same as GRYPE_LOG_STRUCTURED env var
|
||||
structured: false
|
||||
# suppress all output (except for the vulnerability list)
|
||||
# same as -q ; GRYPE_LOG_QUIET env var
|
||||
quiet: false
|
||||
|
||||
# increase verbosity
|
||||
# same as GRYPE_LOG_VERBOSITY env var
|
||||
verbosity: 0
|
||||
|
||||
# the log level; note: detailed logging suppress the ETUI
|
||||
# same as GRYPE_LOG_LEVEL env var
|
||||
|
|
Loading…
Reference in a new issue