Project

General

Profile

Feature #15874

Log X-Request-ID by default

Added by Dominic Cleal over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

The default log configuration of the smart proxy should log the contents of the X-Request-ID header if it's set, which will help debugging as Foreman (or other users) can set it when making requests. This will make it easier to search logs for relevant entries.

Foreman does something similar (but with the session ID) since #15863.


Related issues

Related to Foreman - Feature #10982: Add logging to smart proxy requests (ProxyAPI)Closed2015-07-02
Related to Smart Proxy - Bug #18115: Smart proxy - 1.14 - Windows - uninitialized constant errorClosed2017-01-17
Has duplicate Smart Proxy - Feature #15877: Print session/request id in foreman-proxy logsDuplicate2016-07-28

Associated revisions

Revision b39011eb (diff)
Added by Dmitri Dolguikh about 4 years ago

Fixes #15874 - added logging of 'X_REQUEST_ID' http headers

History

#1 Updated by Dominic Cleal over 4 years ago

  • Related to Feature #10982: Add logging to smart proxy requests (ProxyAPI) added

#2 Updated by Dominic Cleal over 4 years ago

  • Has duplicate Feature #15877: Print session/request id in foreman-proxy logs added

#3 Updated by Lukas Zapletal over 4 years ago

Make sure this gets recorded in structured format in logger buffer as well, so we can easily pull out logs (e.g. errors) via the API and show them.

#4 Updated by Dmitri Dolguikh about 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Dmitri Dolguikh

#5 Updated by Dmitri Dolguikh about 4 years ago

  • Target version set to 1.3.2

#6 Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/475 added

#7 Updated by Anonymous about 4 years ago

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

#8 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 189

#9 Updated by Dominic Cleal almost 4 years ago

  • Related to Bug #18115: Smart proxy - 1.14 - Windows - uninitialized constant error added

Also available in: Atom PDF