Skip to content

Commit

Permalink
hide api key in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
pjagielski committed Mar 11, 2016
1 parent 6835c14 commit e74dced
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %replace(%msg){'key=([a-zA-Z0-9])*', 'key=xxxx'}%n</pattern>
</encoder>
</appender>

Expand Down

0 comments on commit e74dced

Please sign in to comment.