Bug #23785
closed
Do not log large response bodies
Added by Thomas McKay over 6 years ago.
Updated over 6 years ago.
Description
The concerns/api/api_controller.rb has a debug statement in process_action method. When docker pull directly against server (not crane :5000) the blobs (large binary data) is logged. Needs to be a way to either override this method or skip large bodies.
- Category set to Container
- Assignee set to Thomas McKay
- Translation missing: en.field_release set to 349
Also happens for uploading packages/puppet modules, really ugly:
16:41:24 rails.1 | 2018-06-14T16:41:24 [D|app|e1d01] Setting current user thread-local variable to admin
16:41:24 rails.1 | 2018-06-14T16:41:24 [I|kat|e1d01] PUT: https://centos7-devel.zpm.example.com/pulp/a露
C�۾/�R]��j����S���L\��u<��5��;Or���h��ղ��v'��VWWWU�e���e:uܤ>�R��jl5��ݧ��6���k�m��j��~����f���t�_{��D�DZ�Y$߬͜�
- Status changed from New to Duplicate
- Related to Bug #24370: PUT requests content is logged in info level added
- Status changed from Duplicate to New
Not a duplicate. The fix in #23835 only fixes one case. Uploading RPM's, files, etc to a repository still get logged.
- Status changed from New to Duplicate
Er nevermind, just leave this is a duplicate and #24370 can be used for repository uploading.
- Target version changed from Katello 3.8.0 to Katello Recycle Bin
Also available in: Atom
PDF