Skip to content

Commit

Permalink
fix: reduce logging for bad dpkg lines (#1675)
Browse files Browse the repository at this point in the history
* fix: reduce logging for bad dpkg lines to Trace level
---------

Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow authored Mar 17, 2023
1 parent f66e77e commit d05000f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syft/pkg/cataloger/deb/parse_dpkg_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func extractAllFields(reader *bufio.Reader) (map[string]interface{}, error) {
var val interface{}
key, val, err = handleNewKeyValue(line)
if err != nil {
log.Warnf("parsing dpkg status: extracting key-value from line: %s err: %v", line, err)
log.Tracef("parsing dpkg status: extracting key-value from line: %s err: %v", line, err)
continue
}

Expand Down

0 comments on commit d05000f

Please sign in to comment.