Skip to content

Commit

Permalink
Extend log scrubber for dbus serviceIds
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Oct 17, 2023
1 parent fc2e9bb commit 2852b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/asamk/signal/logging/Scrubber.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private Scrubber() {
* The middle group will be censored.
*/
private static final Pattern UUID_PATTERN = Pattern.compile(
"(JOB::)?([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{10})([0-9a-f]{2})",
"(JOB::)?([0-9a-f]{8}[-_][0-9a-f]{4}[-_][0-9a-f]{4}[-_][0-9a-f]{4}[-_][0-9a-f]{10})([0-9a-f]{2})",
Pattern.CASE_INSENSITIVE);
private static final String UUID_CENSOR = "********-****-****-****-**********";

Expand Down

0 comments on commit 2852b2e

Please sign in to comment.