Skip to content

Commit 32520d4

Browse files
committed
turn off trace and remove debug logs
Signed-off-by: uttam282005 <uttam282005@gmail.com>
1 parent 2a3b647 commit 32520d4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/formattedcode/output_html.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
TEMPLATES_DIR = join(dirname(__file__), 'templates')
4444

4545

46-
TRACE = True
46+
TRACE = False
4747

4848

4949
def logger_debug(*args):
@@ -211,7 +211,6 @@ def generate_output(results, license_references, summary, version, template):
211211
LICENSES = 'license_detections'
212212
COPYRIGHTS = 'copyrights'
213213
PACKAGES = 'package_data'
214-
logger_debug(f"summary: {summary}")
215214

216215
# Create a flattened data dict keyed by path
217216
for scanned_file in results:
@@ -244,7 +243,6 @@ def generate_output(results, license_references, summary, version, template):
244243
match_data['matched_text'] = match['matched_text']
245244

246245
if 'matched_text_diagnostics' in match:
247-
logger_debug(match['matched_text_diagnostics'])
248246
match_data['matched_text_diagnostics'] = match['matched_text_diagnostics']
249247

250248
results.append(match_data)

0 commit comments

Comments
 (0)