Skip to content

Commit

Permalink
Merge pull request #42 from yanatan16/patch-1
Browse files Browse the repository at this point in the history
wrap-log-request-params StackOverflowError fix
  • Loading branch information
nberger authored Apr 26, 2018
2 parents 43761e3 + 1599552 commit a98024b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ring/logger.clj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
value should be redacted. Receives the key, returns truthy/falsy. A common
pattern is to use a set.
Default value: #{:authorization :password :token :secret :secret-key :secret-token}"
([handler] (wrap-log-request-params {}))
([handler] (wrap-log-request-params handler {}))
([handler {:keys [log-fn log-level transform-fn request-keys redact-key? redact-value-fn]
:or {log-fn default-log-fn
transform-fn identity
Expand Down

0 comments on commit a98024b

Please # to comment.