Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

RequestLogger sets request_id in context #421

Merged
merged 1 commit into from
May 5, 2017

Conversation

nzoschke
Copy link

@nzoschke nzoschke commented May 5, 2017

Set the logger request_id in the context, which enables the rest of the request handling chain to use the ID.

This is useful for:

  • Including the request ID on errors sent to a service like Rollbar
  • Passing the request ID to a subsystem to correlate logs

@markbates markbates changed the base branch from master to development May 5, 2017 17:48
@markbates markbates merged commit fa49146 into gobuffalo:development May 5, 2017
@markbates
Copy link
Member

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants