You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,11 +26,12 @@ All in all, you should do the following:
26
26
* pick your favorite logging implementation, and
27
27
* adjust your logging configuration accordingly.
28
28
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`):
30
31
31
32
```xml
32
33
<properties>
33
-
<cf-logging-version>2.0.11</cf-logging-version>
34
+
<cf-logging-version>2.0.10</cf-logging-version>
34
35
</properties>
35
36
```
36
37
@@ -47,6 +48,8 @@ Say, you want to make use of the *servlet filter* feature, then you need to add
47
48
48
49
This feature only depends on the servlet API which you have included in your POM anyhow.
49
50
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
+
50
53
## Implementation variants and logging configurations
51
54
52
55
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
150
153
description about how to apply this feature can be found
151
154
[here](./DynamicLogLevels.md).
152
155
156
+
## Logging Stacktraces
157
+
158
+
Stacktraces can be logged within one log message. Further details can be found [here](./LoggingStacktraces.md).
159
+
153
160
## Sample Application
154
161
155
162
In order to illustrate how the different features are used, this repository includes a simple application in the [./sample folder](./sample).
0 commit comments