Skip to content

Commit 4512ebe

Browse files
update sender dependency (#54)
* update sender dependency * update test matrix
1 parent 62cc441 commit 4512ebe

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest, windows-latest]
10-
java: [ '8', '11', '15' ]
10+
java: [ '11', '15','17' ]
1111
runs-on: ${{ matrix.os }}
1212
steps:
1313
- uses: actions/checkout@v2

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,24 @@ This appender sends logs to your [Logz.io](http://logz.io) account, using non-bl
99
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".
1010

1111
### Installation from maven
12+
JDK 8:
1213
```xml
1314
<dependency>
1415
<groupId>io.logz.log4j2</groupId>
1516
<artifactId>logzio-log4j2-appender</artifactId>
1617
<version>1.0.19</version>
1718
</dependency>
1819
```
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+
1930
The appender also requires a logger implementation, for example:
2031
```xml
2132
<dependency>
@@ -146,11 +157,18 @@ Will send a log to Logz.io that looks like this:
146157
```
147158

148159
### 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.
149163
- 1.0.19
150164
- Updated LogzioSender version to `1.1.8`:
151165
- Fix an issue where log is not being truncated properly between size of 32.7k to 500k.
152166
- 1.0.18
153167
- updated logzio sender version, fixing IndexOutOfBounds exception with bigqueue
168+
169+
<details>
170+
<summary markdown="span"> Expand to check old versions </summary>
171+
154172
- 1.0.16
155173
- Added exceedMaxSizeAction parameter for handling oversized logs.
156174
- 1.0.15
@@ -182,7 +200,7 @@ Will send a log to Logz.io that looks like this:
182200
- Fixed an issue: [LogzioAppender does not let the JVM exit](https://github.com/logzio/logzio-log4j2-appender/issues/2)
183201
- 1.0.0
184202
- Initial releases
185-
203+
</details>
186204

187205
### Contribution
188206
- Fork

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.logz.log4j2</groupId>
88
<artifactId>logzio-log4j2-appender</artifactId>
9-
<version>1.0.19</version>
9+
<version>2.0.0</version>
1010

1111
<packaging>jar</packaging>
1212
<name>Logz.io Log4j2 Appender</name>
@@ -36,7 +36,7 @@
3636
</scm>
3737

3838
<properties>
39-
<logzio-sender-version>1.1.8</logzio-sender-version>
39+
<logzio-sender-version>2.0.0</logzio-sender-version>
4040
</properties>
4141

4242
<build>
@@ -46,8 +46,8 @@
4646
<artifactId>maven-compiler-plugin</artifactId>
4747
<version>3.5.1</version>
4848
<configuration>
49-
<source>1.8</source>
50-
<target>1.8</target>
49+
<source>11</source>
50+
<target>11</target>
5151
</configuration>
5252
</plugin>
5353
<plugin>

0 commit comments

Comments
 (0)