Skip to content

Commit c837502

Browse files
Refactor of LogtailAppender to be thread-safe (#13)
Co-authored-by: Guillermo Orue Marighetti <[email protected]>
1 parent d0fedf9 commit c837502

File tree

9 files changed

+298
-319
lines changed

9 files changed

+298
-319
lines changed

examples/gradle/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,7 @@ dependencies {
1010
implementation 'com.logtail:logback-logtail:0.2.0'
1111
implementation 'ch.qos.logback:logback-classic:1.2.11'
1212
implementation 'ch.qos.logback:logback-core:1.2.11'
13-
implementation 'com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:2.13.3'
14-
implementation 'jakarta.ws.rs:jakarta.ws.rs-api:3.0.0'
15-
implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
16-
implementation 'jakarta.activation:jakarta.activation-api:2.1.0'
17-
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
18-
implementation 'org.glassfish.jersey.core:jersey-client:3.0.4'
19-
implementation 'org.glassfish.jersey.core:jersey-common:3.0.4'
20-
implementation 'org.glassfish.jersey.inject:jersey-hk2:3.0.4'
13+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.5'
2114
implementation 'org.slf4j:slf4j-api:1.7.7'
2215
}
2316

examples/maven/pom.xml

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -39,44 +39,9 @@
3939
<version>1.2.11</version>
4040
</dependency>
4141
<dependency>
42-
<groupId>com.fasterxml.jackson.jaxrs</groupId>
43-
<artifactId>jackson-jaxrs-json-provider</artifactId>
44-
<version>2.13.3</version>
45-
</dependency>
46-
<dependency>
47-
<groupId>jakarta.ws.rs</groupId>
48-
<artifactId>jakarta.ws.rs-api</artifactId>
49-
<version>3.0.0</version>
50-
</dependency>
51-
<dependency>
52-
<groupId>jakarta.inject</groupId>
53-
<artifactId>jakarta.inject-api</artifactId>
54-
<version>2.0.1</version>
55-
</dependency>
56-
<dependency>
57-
<groupId>jakarta.activation</groupId>
58-
<artifactId>jakarta.activation-api</artifactId>
59-
<version>2.1.0</version>
60-
</dependency>
61-
<dependency>
62-
<groupId>jakarta.annotation</groupId>
63-
<artifactId>jakarta.annotation-api</artifactId>
64-
<version>2.1.1</version>
65-
</dependency>
66-
<dependency>
67-
<groupId>org.glassfish.jersey.core</groupId>
68-
<artifactId>jersey-client</artifactId>
69-
<version>3.0.4</version>
70-
</dependency>
71-
<dependency>
72-
<groupId>org.glassfish.jersey.core</groupId>
73-
<artifactId>jersey-common</artifactId>
74-
<version>3.0.4</version>
75-
</dependency>
76-
<dependency>
77-
<groupId>org.glassfish.jersey.inject</groupId>
78-
<artifactId>jersey-hk2</artifactId>
79-
<version>3.0.4</version>
42+
<groupId>com.fasterxml.jackson.core</groupId>
43+
<artifactId>jackson-databind</artifactId>
44+
<version>2.13.5</version>
8045
</dependency>
8146
<dependency>
8247
<groupId>org.slf4j</groupId>

pom.xml

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -116,39 +116,11 @@
116116
<version>1.2.11</version>
117117
</dependency>
118118
<dependency>
119-
<groupId>com.fasterxml.jackson.jaxrs</groupId>
120-
<artifactId>jackson-jaxrs-json-provider</artifactId>
121-
<version>2.13.3</version>
119+
<groupId>com.fasterxml.jackson.core</groupId>
120+
<artifactId>jackson-databind</artifactId>
121+
<version>2.13.5</version>
122122
</dependency>
123123

124-
<dependency>
125-
<groupId>jakarta.ws.rs</groupId>
126-
<artifactId>jakarta.ws.rs-api</artifactId>
127-
<version>3.0.0</version>
128-
</dependency>
129-
<dependency>
130-
<groupId>jakarta.inject</groupId>
131-
<artifactId>jakarta.inject-api</artifactId>
132-
<version>2.0.1</version>
133-
</dependency>
134-
<dependency>
135-
<groupId>jakarta.activation</groupId>
136-
<artifactId>jakarta.activation-api</artifactId>
137-
<version>2.1.0</version>
138-
</dependency>
139-
140-
<dependency>
141-
<groupId>org.glassfish.jersey.core</groupId>
142-
<artifactId>jersey-client</artifactId>
143-
<version>3.0.4</version>
144-
<scope>test</scope>
145-
</dependency>
146-
<dependency>
147-
<groupId>org.glassfish.jersey.inject</groupId>
148-
<artifactId>jersey-hk2</artifactId>
149-
<version>3.0.4</version>
150-
<scope>test</scope>
151-
</dependency>
152124
<dependency>
153125
<groupId>junit</groupId>
154126
<artifactId>junit</artifactId>

0 commit comments

Comments
 (0)