Skip to content

Commit

Permalink
fix: reduce logging for bad dpkg lines (anchore#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 committed Mar 17, 2023
1 parent 707c1e4 commit ebb6ce6
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 ebb6ce6

Please sign in to comment.