Skip to content

Commit

Permalink
Revert "do not log requestId"
Browse files Browse the repository at this point in the history
This reverts commit 35d3a49.
  • Loading branch information
felipejfc committed May 28, 2019
1 parent 35d3a49 commit 3064590
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions util/util.go
Expand Up @@ -164,8 +164,9 @@ func CtxWithDefaultLogger(ctx context.Context, route, userID string) context.Con
}
defaultLogger = logrusLogger.WithFields(
logrus.Fields{
"route": route,
"userId": userID,
"route": route,
"requestId": requestID,
"userId": userID,
})
} else {
defaultLogger = logger.Log
Expand Down

0 comments on commit 3064590

Please sign in to comment.