Project

General

Profile

Revision 43f2e49e

Added by Jonathon Turel over 3 years ago

Fixes #26018 - Log HTTP requests at debug level

View differences:

.travis.yml
3 3
  - ruby
4 4

  
5 5
rvm:
6
  - "2.2.0"
7
  - "2.3.0"
6
  - "2.4.0"
7
  - "2.5.0"
8 8

  
9 9
before_install:
10 10
  - gem install bundler
lib/runcible/base.rb
74 74
      response = get_response(client, path, *args)
75 75
      processed = process_response(response)
76 76
      self.logs << "Response: #{response.code}: #{response.body}"
77
      log_info
77
      log_debug
78 78
      processed
79 79
    rescue RestClient::ResourceNotFound => e
80 80
      self.logs << exception_to_log(e)

Also available in: Unified diff