Skip to content

Commit 6ce8547

Browse files
authored
Merge pull request #21 from ChristophEichhorn/performanceIssue
Performance issue
2 parents 1e21b24 + 33540b8 commit 6ce8547

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ All in all, you should do the following:
2727
* adjust your logging configuration accordingly.
2828

2929

30-
Say, you want to make use of the *servlet filter* feature, then you need to add the following dependency to your POM with property `cf-logging-version` referring to the latest nexus version (currently `2.1.3`):
30+
Say, you want to make use of the *servlet filter* feature, then you need to add the following dependency to your POM with property `cf-logging-version` referring to the latest nexus version (currently `2.1.4`):
3131

3232
```xml
3333
<properties>
34-
<cf-logging-version>2.1.3</cf-logging-version>
34+
<cf-logging-version>2.1.4</cf-logging-version>
3535
</properties>
3636
```
3737

cf-java-logging-support-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<parent>
3333
<groupId>com.sap.hcp.cf.logging</groupId>
3434
<artifactId>cf-java-logging-support-parent</artifactId>
35-
<version>2.1.3</version>
35+
<version>2.1.4</version>
3636
<relativePath>../pom.xml</relativePath>
3737
</parent>
3838
<build>

cf-java-logging-support-jersey/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<relativePath>../pom.xml</relativePath>
1010
<groupId>com.sap.hcp.cf.logging</groupId>
1111
<artifactId>cf-java-logging-support-parent</artifactId>
12-
<version>2.1.3</version>
12+
<version>2.1.4</version>
1313
</parent>
1414

1515
<name>cf-java-logging-support-jersey</name>

cf-java-logging-support-jersey/src/main/java/com/sap/hcp/cf/logging/jersey/filter/ResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void handle(ResponseContextAdapter responseContext, RequestRecord rr) {
1919
rr.addTag(Fields.RESPONSE_CONTENT_TYPE, responseContext.getHeader(HttpHeaders.CONTENT_TYPE));
2020
rr.addValue(Fields.RESPONSE_STATUS, new LongValue(responseContext.getStatus()));
2121
rr.stop();
22-
LOGGER.info(Markers.REQUEST_MARKER, rr.toString());
22+
LOGGER.info(Markers.REQUEST_MARKER, "{}", rr);
2323
/*
2424
* -- close this instance
2525
*/

cf-java-logging-support-log4j2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<relativePath>../pom.xml</relativePath>
1212
<groupId>com.sap.hcp.cf.logging</groupId>
1313
<artifactId>cf-java-logging-support-parent</artifactId>
14-
<version>2.1.3</version>
14+
<version>2.1.4</version>
1515
</parent>
1616

1717
<dependencies>

cf-java-logging-support-logback/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<relativePath>../pom.xml</relativePath>
1111
<groupId>com.sap.hcp.cf.logging</groupId>
1212
<artifactId>cf-java-logging-support-parent</artifactId>
13-
<version>2.1.3</version>
13+
<version>2.1.4</version>
1414
</parent>
1515

1616
<dependencies>

cf-java-logging-support-servlet/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<parent>
1010
<groupId>com.sap.hcp.cf.logging</groupId>
1111
<artifactId>cf-java-logging-support-parent</artifactId>
12-
<version>2.1.3</version>
12+
<version>2.1.4</version>
1313
<relativePath>../pom.xml</relativePath>
1414
</parent>
1515

cf-java-logging-support-servlet/src/main/java/com/sap/hcp/cf/logging/servlet/filter/RequestLoggingFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void doFilterRequest(HttpServletRequest httpRequest, HttpServletResponse
143143
/*
144144
* -- log info
145145
*/
146-
LOGGER.info(Markers.REQUEST_MARKER, rr.toString());
146+
LOGGER.info(Markers.REQUEST_MARKER, "{}", rr);
147147
/*
148148
* -- close this
149149
*/

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.sap.hcp.cf.logging</groupId>
66
<artifactId>cf-java-logging-support-parent</artifactId>
7-
<version>2.1.3</version>
7+
<version>2.1.4</version>
88
<packaging>pom</packaging>
99

1010
<name>Cloud Foundry Java logging support components</name>

sample/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ applications:
66
- name: logging-sample-app
77
host: logging-sample-app
88
instances: 1
9-
path: target/logging-sample-app-2.1.3.war
9+
path: target/logging-sample-app-2.1.4.war
1010
env:
1111
RANDOM_SLEEP: true
1212
# Set LOG_*: true to activate logging of respective field

0 commit comments

Comments
 (0)