Skip to content

Commit

Permalink
log header names, not values
Browse files Browse the repository at this point in the history
  • Loading branch information
carterkozak committed Feb 6, 2020
1 parent fdbbf59 commit 619ac31
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ public Optional<RequestBody> body() {
@Override
public String toString() {
return "Request{"
+ "headerParamsSize="
+ headerParams.size()
// Values are excluded to avoid the risk of logging credentials
+ "headerParamsKeys="
+ headerParams.keySet()
+ ", queryParams="
+ queryParams
+ ", pathParams="
Expand Down

0 comments on commit 619ac31

Please sign in to comment.