Skip to content

Commit

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

0 comments on commit 35d3a49

Please sign in to comment.