Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wso2/docs-ei into master-hb
Browse files Browse the repository at this point in the history
  • Loading branch information
ruthryi committed Oct 13, 2021
2 parents 234312a + eb9292a commit 8441af4
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ You can specify one or more masking patterns in the `<MI-HOME>/conf/deployment.t

With this configuration, each log line is checked for all the configured patterns. If any match is found, it is masked with ‘*****’.

!!! danger "Using single quotes in TOML configs to avoid parsing escape characters"
If the strings defined in the `deployment.toml` file are within double quotes, it is parsed along with the escape characters. To avoid this, use single quotes when you need to add escape characters as shown in the example below.
```
[masking_pattern.properties]
"ACCT_ID" = '(?<=accountId\':)(.*)(?=\')'
"ACCT_ID.replace_pattern"='(.?).(?=.*)'
"ACCT_ID.replacer"="*"
```

!!! note
The following feature is released as a product update on <b>08th of December, 2020</b>. If you don't already have this update, you can [get the latest updates](https://updates.docs.wso2.com/en/latest/updates/overview/) now.

Expand Down

0 comments on commit 8441af4

Please sign in to comment.