Skip to content

Commit 9450029

Browse files
Merge pull request #15 from ChristophEichhorn/master
Update README.md and version in sample
2 parents 30b4bf6 + 876db55 commit 9450029

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ All in all, you should do the following:
2626
* pick your favorite logging implementation, and
2727
* adjust your logging configuration accordingly.
2828

29-
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 version (currently `2.0.11`):
29+
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.0.10`):
3031

3132
```xml
3233
<properties>
33-
<cf-logging-version>2.0.11</cf-logging-version>
34+
<cf-logging-version>2.0.10</cf-logging-version>
3435
</properties>
3536
```
3637

@@ -47,6 +48,8 @@ Say, you want to make use of the *servlet filter* feature, then you need to add
4748

4849
This feature only depends on the servlet API which you have included in your POM anyhow.
4950

51+
For the new dynamic log level feature and the stacktrace feature version 2.1.0 has to be chosen which is not yet available on the nexus repository but can be obtained by building the parent project of this repository.
52+
5053
## Implementation variants and logging configurations
5154

5255
The *core* feature (on which all other features rely) is just using the `org.slf4j` API, but to actually get logs written, you need to pick an implementation feature. As stated above, we have two implementations
@@ -150,6 +153,10 @@ single thread by adding a token in the header of a request. A detailed
150153
description about how to apply this feature can be found
151154
[here](./DynamicLogLevels.md).
152155

156+
## Logging Stacktraces
157+
158+
Stacktraces can be logged within one log message. Further details can be found [here](./LoggingStacktraces.md).
159+
153160
## Sample Application
154161

155162
In order to illustrate how the different features are used, this repository includes a simple application in the [./sample folder](./sample).

sample/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.sap.hcp.cf.logging</groupId>
88
<artifactId>cf-java-logging-support-parent</artifactId>
9-
<version>2.1.0</version>
9+
<version>2.0.10</version>
1010
<relativePath>../pom.xml</relativePath>
1111
</parent>
1212

@@ -18,7 +18,7 @@
1818
<slf4j.version>1.7.12</slf4j.version>
1919
<jersey.version>2.22.2</jersey.version>
2020
<javax.ws.version>2.0.1</javax.ws.version>
21-
<cf-logging.version>2.1.0</cf-logging.version>
21+
<cf-logging.version>2.0.10</cf-logging.version>
2222
</properties>
2323
<dependencies>
2424
<dependency>

0 commit comments

Comments
 (0)