Skip to content

Commit

Permalink
(maint) fix debug logging formatting
Browse files Browse the repository at this point in the history
This fixes the debug logging to correctly format the result instead of injecting a `{0}` into the logging.
  • Loading branch information
jonathannewman authored Aug 8, 2023
1 parent 217f2e4 commit f548e12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(partial rbac/is-permitted? rbac-service))
token->subject (if-let [rbac-service (maybe-get-service this :RbacConsumerService)]
(partial rbac/valid-token->subject rbac-service))]
(log/debug (trs "Transformed auth.conf rules:\n{0}") (ks/pprint-to-string rules))
(log/debug (trs "Transformed auth.conf rules:\n{0}" (ks/pprint-to-string rules)))
(-> context
(assoc :is-permitted? is-permitted?)
(assoc :token->subject token->subject)
Expand Down

0 comments on commit f548e12

Please sign in to comment.