Skip to content

Commit 74efda1

Browse files
authored
Merge branch 'quarkiverse:main' into feature/load-jackson-modules-from-classpath
2 parents ca23a00 + bc27cdf commit 74efda1

File tree

15 files changed

+134
-39
lines changed

15 files changed

+134
-39
lines changed

.github/project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: Quarkus Logging JSON
22
release:
3-
current-version: 3.3.1
4-
next-version: 3.3.2-SNAPSHOT
3+
current-version: 3.4.0
4+
next-version: 3.4.1-SNAPSHOT

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ jobs:
6161
- name: Check for uncommitted changes
6262
run: |
6363
err_msg="Changes found!!! Run 'mvn -B clean package' and commit changes"
64-
git -c color.ui=always diff --exit-code || (>&2 echo "${err_msg}" && exit 1)
64+
git -c color.ui=always diff --exit-code ':(exclude)docs/modules/ROOT/pages/includes/attributes.adoc' || (>&2 echo "${err_msg}" && exit 1)

deployment/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.quarkiverse.loggingjson</groupId>
66
<artifactId>quarkus-logging-json-parent</artifactId>
7-
<version>3.3.2-SNAPSHOT</version>
7+
<version>3.4.1-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>io.quarkiverse.loggingjson</groupId>
2525
<artifactId>quarkus-logging-json</artifactId>
26-
<version>3.3.2-SNAPSHOT</version>
26+
<version>3.4.1-SNAPSHOT</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>io.quarkus</groupId>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
:project-version: 3.3.1
1+
:project-version: 3.4.0
22

33
:examples-dir: ./../examples/

docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.quarkiverse.loggingjson</groupId>
66
<artifactId>quarkus-logging-json-parent</artifactId>
7-
<version>3.3.2-SNAPSHOT</version>
7+
<version>3.4.1-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.quarkiverse.loggingjson</groupId>
66
<artifactId>quarkus-logging-json-parent</artifactId>
7-
<version>3.3.2-SNAPSHOT</version>
7+
<version>3.4.1-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<groupId>io.quarkiverse.loggingjson</groupId>
1111
<artifactId>quarkus-logging-json-parent</artifactId>
1212
<name>Quarkus Logging JSON - Parent</name>
13-
<version>3.3.2-SNAPSHOT</version>
13+
<version>3.4.1-SNAPSHOT</version>
1414
<packaging>pom</packaging>
1515

1616
<properties>

runtime/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>io.quarkiverse.loggingjson</groupId>
66
<artifactId>quarkus-logging-json-parent</artifactId>
7-
<version>3.3.2-SNAPSHOT</version>
7+
<version>3.4.1-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

runtime/src/main/java/io/quarkiverse/loggingjson/JsonFactory.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
import java.io.IOException;
44

5+
import io.quarkiverse.loggingjson.config.Config;
6+
57
public interface JsonFactory {
8+
void setConfig(Config config);
69

710
JsonGenerator createGenerator(StringBuilderWriter writer) throws IOException;
811
}

runtime/src/main/java/io/quarkiverse/loggingjson/LoggingJsonRecorder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public RuntimeValue<Optional<Formatter>> initializeJsonLogging(ConfigFormatter f
4444
if (formatter == null || !formatter.isEnabled()) {
4545
return new RuntimeValue<>(Optional.empty());
4646
}
47+
jsonFactory.setConfig(config);
4748

4849
List<JsonProvider> providers;
4950

@@ -71,7 +72,6 @@ public RuntimeValue<Optional<Formatter>> initializeJsonLogging(ConfigFormatter f
7172
}
7273

7374
return new RuntimeValue<>(Optional.of(new JsonFormatter(providers, jsonFactory, config)));
74-
7575
}
7676

7777
private List<JsonProvider> defaultFormat(Config config) {

0 commit comments

Comments
 (0)