File tree 4 files changed +16
-14
lines changed
src/main/java/io/logz/log4j2
4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 1
1
name : git-secrets
2
-
3
2
# Controls when the workflow will run
4
3
# Triggers the workflow on push or pull request events but only for the main branch
5
4
on : [push]
6
-
7
5
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
8
6
jobs :
9
7
# This workflow contains a single job called "main"
10
8
git-secrets :
11
9
# The type of runner that the job will run on
12
- runs-on : ubuntu-18.04
13
-
10
+ runs-on : ubuntu-22.04
14
11
# Steps represent a sequence of tasks that will be executed as part of the job
15
12
steps :
16
13
- name : Check Out Source Code
17
- uses : actions/checkout@v2
18
-
14
+ uses : actions/checkout@v3
19
15
- name : Set up Python 3.8
20
- uses : actions/setup-python@v2
16
+ uses : actions/setup-python@v4
21
17
with :
22
18
python-version : 3.8
23
19
- name : Installing dependencies
24
20
run :
25
- sudo apt-get install git less openssh-server
21
+ sudo apt-get install less openssh-server
26
22
- name : Installing scanning tool
27
23
run : |
24
+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
25
+ ln -s "$(which echo)" /usr/local/bin/say
28
26
brew install git-secrets
29
27
git secrets --install
30
- git secrets --register-aws
28
+ git secrets --register-aws
31
29
- name : Running scanning tool
32
30
run :
33
- git secrets --scan
31
+ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
32
+ git secrets --scan
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This appender uses [LogzioSender](https://github.com/logzio/logzio-java-sender)
13
13
<dependency >
14
14
<groupId >io.logz.log4j2</groupId >
15
15
<artifactId >logzio-log4j2-appender</artifactId >
16
- <version >1.0.17 </version >
16
+ <version >1.0.18 </version >
17
17
</dependency >
18
18
```
19
19
The appender also requires a logger implementation, for example:
@@ -146,6 +146,8 @@ Will send a log to Logz.io that looks like this:
146
146
```
147
147
148
148
### Release notes
149
+ - 1.0.18
150
+ - updated logzio sender version, fixing IndexOutOfBounds exception with bigqueue
149
151
- 1.0.16
150
152
- Added exceedMaxSizeAction parameter for handling oversized logs.
151
153
- 1.0.15
Original file line number Diff line number Diff line change 36
36
</scm >
37
37
38
38
<properties >
39
- <logzio-sender-version >1.1.5 </logzio-sender-version >
39
+ <logzio-sender-version >1.1.7 </logzio-sender-version >
40
40
</properties >
41
41
42
42
<build >
Original file line number Diff line number Diff line change 1
1
package io .logz .log4j2 ;
2
2
3
3
import java .io .File ;
4
+ import java .io .IOException ;
4
5
import java .net .InetAddress ;
5
6
import java .net .UnknownHostException ;
6
7
import java .util .Arrays ;
14
15
import java .util .concurrent .TimeUnit ;
15
16
import java .util .function .Supplier ;
16
17
18
+ import com .google .common .base .Throwables ;
17
19
import org .apache .logging .log4j .Logger ;
18
20
import org .apache .logging .log4j .Marker ;
19
21
import org .apache .logging .log4j .core .Appender ;
33
35
import io .logz .sender .HttpsRequestConfiguration ;
34
36
import io .logz .sender .LogzioSender ;
35
37
import io .logz .sender .SenderStatusReporter ;
36
- import io .logz .sender .com .google .common .base .Throwables ;
37
38
import io .logz .sender .com .google .gson .JsonObject ;
38
39
import io .logz .sender .exceptions .LogzioParameterErrorException ;
39
40
@@ -377,7 +378,7 @@ public void start() {
377
378
}
378
379
try {
379
380
logzioSender = logzioSenderBuilder .build ();
380
- } catch (LogzioParameterErrorException e ) {
381
+ } catch (LogzioParameterErrorException | IOException e ) {
381
382
statusLogger .error ("Couldn't build logzio sender: " + e .getMessage (), e );
382
383
return ;
383
384
}
You can’t perform that action at this time.
0 commit comments