Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reduce logging for bad dpkg lines #1675

Merged
merged 2 commits into from
Mar 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.Debugf("parsing dpkg status: extracting key-value from line: %s err: %v", line, err)
kzantow marked this conversation as resolved.
Show resolved Hide resolved
continue
}

Expand Down