Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log client name and version #727

Merged
merged 3 commits into from
Jan 10, 2019
Merged

Log client name and version #727

merged 3 commits into from
Jan 10, 2019

Conversation

bartekn
Copy link
Contributor

@bartekn bartekn commented Oct 25, 2018

No description provided.

@bartekn bartekn mentioned this pull request Oct 25, 2018
11 tasks
Copy link
Contributor

@howardtw howardtw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. I just have a question about the header fields we log in this PR.

@@ -13,6 +13,11 @@ import (
"github.com/stellar/go/support/log"
)

const (
clientNameHeader = "X-Client-Name"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any documentations about these two fields? I couldn't find the information about the client who would send request with these header fields.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point about documenting these fields. Added a new item to #725.

@bartekn bartekn merged commit 4ef3fd2 into master Jan 10, 2019
@bartekn bartekn deleted the log-client-name-version branch January 10, 2019 23:35
oryband added a commit to kinecosystem/go that referenced this pull request Feb 7, 2019
will resolve conflicts in following commits

* tag 'horizon-v0.15.4':
  Horizon 0.15.4 CHANGELOG (stellar#818)
  Fix deadlock in `txsub.System.Tick()` and `tx_bad_seq` errors (stellar#815)
  Add information about test scenarios to docs (stellar#813)
  trades endpoint does not have resolution (stellar#733)
  fix links and update orderbook field names (stellar#750)
  Doc: flesh out docs for developers (stellar#804)
  Fix graceful shutdown (stellar#803)
  Log client name and version (stellar#727)
  Use go vet in CI (stellar#611)
  Fix panic when missing an argument for horizon db backfill (stellar#806)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants