From d8a16435ac70a1ccc8d0bb91144c686d7788f943 Mon Sep 17 00:00:00 2001 From: Ivan Bazulic Date: Tue, 4 Jun 2024 12:20:56 -0400 Subject: [PATCH] Removed superfulous debug statements --- data/secscan_model/secscan_v4_model.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/data/secscan_model/secscan_v4_model.py b/data/secscan_model/secscan_v4_model.py index 634bb69988..81e6e42053 100644 --- a/data/secscan_model/secscan_v4_model.py +++ b/data/secscan_model/secscan_v4_model.py @@ -460,7 +460,6 @@ def should_skip_indexing(manifest_candidate): if self.app.config.get("NOTIFICATION_MIN_SEVERITY_ON_NEW_INDEX") else "High" ) - logger.debug("Minimal level set: %s", level) lowest_severity = PRIORITY_LEVELS[level] if found_vulnerabilities is not None: @@ -480,10 +479,6 @@ def should_skip_indexing(manifest_candidate): ) if found_severity["score"] >= lowest_severity["score"]: - logger.debug( - "Found severity score of %s for vulnerability.", - found_severity["score"], - ) tag_names = list( registry_model.tag_names_for_manifest(manifest, TAG_LIMIT) )