Project

General

Profile

Actions

Bug #21127

closed

Scap content file is printed into logs

Added by Ondřej Pražák about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Debug logger logs the response body. When scap content is downloaded via hammer, the response is the file itself, so the entire scap content file ends up in the logs. Because it only clutters the logs and does not contain any relevant debugging information, I think we should skip logging response body for download actions. This goes for tailoring files as well.

Steps to reproduce:
1) Download scap content using hammer/api


Files

download-scap-content.png View download-scap-content.png 194 KB Ondřej Pražák, 09/27/2017 08:28 AM

Related issues 1 (1 open0 closed)

Related to Foreman - Bug #25482: Excessive logging of OpenScap report via Rails Ready For TestingLukas ZapletalActions
Actions

Also available in: Atom PDF