Skip to content

Commit c897bea

Browse files
authored
Merge pull request #14 from newrelic/v1.1.3
Update README.md
2 parents 7177746 + 62149fc commit c897bea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Add the library to your project using Maven Central:
2828
<dependency>
2929
<groupId>com.newrelic.labs</groupId>
3030
<artifactId>custom-log4j2-appender</artifactId>
31-
<version>1.0.6</version>
31+
<version>1.1.3</version>
3232
</dependency>
3333
```
3434

@@ -38,7 +38,7 @@ Or, if using a locally built JAR file:
3838
<dependency>
3939
<groupId>com.newrelic.labs</groupId>
4040
<artifactId>custom-log4j2-appender</artifactId>
41-
<version>1.0.6</version>
41+
<version>1.1.3</version>
4242

4343
<scope>system</scope>
4444
<systemPath>${project.basedir}/src/main/resources/custom-log4j2-appender.jar</systemPath>
@@ -74,6 +74,7 @@ Replace `[your-api-key]` with the ingest key obtained from the New Relic platfor
7474
maxRetries="3"
7575
connPoolSize="10"
7676
queueCapacity="2097152"
77+
obfuscationPatterns="\d{4}-\d{4}-\d{4}-\d{4}^^\d{2}/\d{2}"
7778
timeout="15000">
7879
<PatternLayout pattern="[%d{MM-dd HH:mm:ss}] %-5p %c{1} [%t]: %m%n"/>
7980
</NewRelicBatchingAppender>
@@ -107,6 +108,7 @@ Replace `[your-api-key]` with the ingest key obtained from the New Relic platfor
107108
| connPoolSize | No | 5 | Size of the connection pool for HTTP requests |
108109
| queueCapacity | No | 2097152 | Maximum capacity (in bytes) of the log queue |
109110
| timeout | No | 30000 | Connection timeout (in milliseconds) for HTTP requests |
111+
| obfuscationPatterns | No | | Double caret (^^) separated RegEx patterns to obfuscate the matched pattern in the message. Refer to the example above for obfuscating credit card numbers and expiry dates |
110112

111113
---
112114

0 commit comments

Comments
 (0)