travis-ci / gh log scanlog scanfailingfailing Current Branches Build History Pull Requests Build #330 Job #330.3 Settings Requests Caches More options Requests Trigger build Pull Request #44 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 a495d43 #44: Customize Faraday logger formatter Branch master Hiro Asari Pull request event #330.3 passed Ran for 39 sec 5 years ago AMD64 no language set Git Job log View config We're sorry, but this data is not available anymore. Please check the repository settings in Travis CI.