travis-ci / gh log scanlog scanfailingfailing Current Branches Build History Pull Requests Job #329.2 Settings Requests Caches More options Requests Trigger build Customize Faraday logger formatter In particular, add the ability to log `X-*` response headers. GitHubprovides useful information such as `x-github-request-id`. With thisoption, we get the following logs: [1] pry(main)> require 'gh' => true [2] pry(main)> GH.set :formatter => 'response_x_header_formatter' => {:formatter=>"response_x_header_formatter"} [3] pry(main)> GH.head '/' I, [2020-06-24T17:27:02.309042 #15465] INFO -- Response: {"x-content-type-options"=>"nosniff", "x-frame-options"=>"deny", "x-github-media-type"=>"github.v3; format=json", "x-github-request-id"=>"F786:7114:AF4F41:12EC65F:5EF3C526", "x-ratelimit-limit"=>"60", "x-ratelimit-remaining"=>"58", "x-ratelimit-reset"=>"1593037573", "x-xss-protection"=>"1; mode=block"} => {"_links"=>{"self"=>{"href"=>"https://api.github.com/"}}} Commit 472d7c0 Compare 472d7c02e59d Hiro Asari authored and committed Nothing here #329.2 passed Ran for 39 sec 5 years ago AMD64 no language set Git Job log View config