Actions
Bug #21127
closedScap content file is printed into logs
Difficulty:
Triaged:
No
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
Updated by Marek Hulán about 7 years ago
luckily we don't log debug messages in production, I agree we should just silence response body for download actions
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/foreman_openscap/pull/357 added
Updated by Marek Hulán about 6 years ago
- Target version set to foreman_openscap 0.11.0
- Fixed in Releases foreman_openscap 0.11.0 added
Updated by Ondřej Pražák about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|725bf1a7fb66fca9f5329fae6ca6ccbd2750a30d.
Updated by Lukas Zapletal about 6 years ago
- Bugzilla link deleted (
1650543)
The BZ 1650543 is somehow related but a different bug actually.
Updated by Lukas Zapletal about 6 years ago
- Related to Bug #25482: Excessive logging of OpenScap report via Rails added
Actions