Skip to content

Commit e52787c

Browse files
#158 deler av UUID på x-message id blir sensurert (#126)
* Fikset regular expression i logging maske i ebms-async * Fikset XML syntaks
1 parent e5b13ff commit e52787c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cpa-repo/src/main/resources/logback.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider class="net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider" />
66
<jsonGeneratorDecorator class="net.logstash.logback.mask.MaskingJsonGeneratorDecorator">
77
<valueMask>
8-
<value>\d{11}</value>
8+
<value><![CDATA[(?<!-.|.-)\d{11}]]></value>
99
<value>\d{6}\s\d{5}</value>
1010
<mask>***********</mask>
1111
</valueMask>

ebms-async/src/main/resources/logback.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider class="net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider" />
66
<jsonGeneratorDecorator class="net.logstash.logback.mask.MaskingJsonGeneratorDecorator">
77
<valueMask>
8-
<value>\d{11}</value>
8+
<value><![CDATA[(?<!-.|.-)\d{11}]]></value>
99
<value>\d{6}\s\d{5}</value>
1010
<mask>***********</mask>
1111
</valueMask>

ebms-payload/src/main/resources/logback.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider class="net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider" />
66
<jsonGeneratorDecorator class="net.logstash.logback.mask.MaskingJsonGeneratorDecorator">
77
<valueMask>
8-
<value>\d{11}</value>
8+
<value><![CDATA[(?<!-.|.-)\d{11}]]></value>
99
<value>\d{6}\s\d{5}</value>
1010
<mask>***********</mask>
1111
</valueMask>

ebms-provider/src/main/resources/logback.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider class="net.logstash.logback.composite.loggingevent.ArgumentsJsonProvider" />
66
<jsonGeneratorDecorator class="net.logstash.logback.mask.MaskingJsonGeneratorDecorator">
77
<valueMask>
8-
<value>\d{11}</value>
8+
<value><![CDATA[(?<!-.|.-)\d{11}]]></value>
99
<value>\d{6}\s\d{5}</value>
1010
<mask>***********</mask>
1111
</valueMask>

0 commit comments

Comments
 (0)