Project

General

Profile

Actions

Refactor #7191

closed

Move API response body logging to enable plugins to skip it

Added by Dominic Cleal over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The API base controller currently has an anonymous after_filter that logs the response body at debug level. For foreman_bootdisk, which is returning large amounts of binary data, this needs disabling as it all gets logged, slowing down the app and generating huge log files.

It should be in a named filter so it's possible to skip the filter in a subclass of the API base controller.

Actions #1

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1705 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 10
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF