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
+19-1
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,24 @@ This appender sends logs to your [Logz.io](http://logz.io) account, using non-bl
9
9
This appender uses [LogzioSender](https://github.com/logzio/logzio-java-sender) implementation. Once you send a log, it will be enqueued in the queue and 100% non-blocking. There is a background task that will handle the log shipment for you. This jar is an "Uber-Jar" that shades both LogzioSender, BigQueue, Gson and Guava to avoid "dependency hell".
10
10
11
11
### Installation from maven
12
+
JDK 8:
12
13
```xml
13
14
<dependency>
14
15
<groupId>io.logz.log4j2</groupId>
15
16
<artifactId>logzio-log4j2-appender</artifactId>
16
17
<version>1.0.19</version>
17
18
</dependency>
18
19
```
20
+
21
+
JDK 11 and above:
22
+
```xml
23
+
<dependency>
24
+
<groupId>io.logz.log4j2</groupId>
25
+
<artifactId>logzio-log4j2-appender</artifactId>
26
+
<version>2.0.0</version>
27
+
</dependency>
28
+
```
29
+
19
30
The appender also requires a logger implementation, for example:
20
31
```xml
21
32
<dependency>
@@ -146,11 +157,18 @@ Will send a log to Logz.io that looks like this:
146
157
```
147
158
148
159
### Release notes
160
+
- 2.0.0 - THIS IS A SNAPSHOT RELEASE - SUPPORTED WITH JDK 11 AND ABOVE
161
+
- Updated LogzioSender version to `2.0.0`:
162
+
- Fixes an issue where DiskQueue was not clearing disk space when using JDK 11 and above.
149
163
- 1.0.19
150
164
- Updated LogzioSender version to `1.1.8`:
151
165
- Fix an issue where log is not being truncated properly between size of 32.7k to 500k.
152
166
- 1.0.18
153
167
- updated logzio sender version, fixing IndexOutOfBounds exception with bigqueue
168
+
169
+
<details>
170
+
<summarymarkdown="span"> Expand to check old versions </summary>
171
+
154
172
- 1.0.16
155
173
- Added exceedMaxSizeAction parameter for handling oversized logs.
156
174
- 1.0.15
@@ -182,7 +200,7 @@ Will send a log to Logz.io that looks like this:
182
200
- Fixed an issue: [LogzioAppender does not let the JVM exit](https://github.com/logzio/logzio-log4j2-appender/issues/2)
0 commit comments