Skip to content

Commit

Permalink
fix: remove excessively noisy debug message (#4395)
Browse files Browse the repository at this point in the history
This message was firing so frequently that it was making it difficult to
debug another issue.  As it didn't seem useful I've removed it rather
than commenting it out.

Signed-off-by: Terri Oda <[email protected]>
  • Loading branch information
terriko committed Aug 29, 2024
1 parent de0a312 commit 3d2bf7f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cve_bin_tool/cvedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,9 +643,6 @@ def metric_finder(self, cursor, cve):
metric = list(map(lambda x: x[0], cursor.fetchall()))
# Since the query is expected to return a single result, extract the first item from the list and store it in 'metric'
metric = metric[0]
self.LOGGER.debug(
f'For the given cve {cve["ID"]} the cvss version found {cve["CVSS_version"]} metrics ID added into database {metric}'
)
return metric

def clear_cached_data(self) -> None:
Expand Down

0 comments on commit 3d2bf7f

Please sign in to comment.