Skip to content

Commit

Permalink
Silence cached compiler logs and upgrade to blackbird
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Feb 8, 2023
1 parent cb61cb3 commit e9bb94e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Proteus Changelog.
## Unreleased
### No issue

**Improve compatability**


[cb61cb367557f63](https://github.com/noboomu/proteus/commit/cb61cb367557f63) Joshua Bauer *2022-08-13 01:59:47*

**Safer threaded compilation and caching of generated classes**


[d5eb3e745471280](https://github.com/noboomu/proteus/commit/d5eb3e745471280) Joshua Bauer *2022-08-13 01:58:36*

**Reduce logging.**


Expand Down
1 change: 1 addition & 0 deletions proteus-core/conf/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<logger name="io.swagger.jackson" level="ERROR" />
<logger name="io.swagger.v3" level="ERROR" />
<logger name="swagger" level="ERROR" />
<logger name="net.openhft" level="ERROR" />

<logger name="javax.management" level="ERROR" />
<logger name="javax.management.mbeanserver" level="OFF" />
Expand Down
2 changes: 1 addition & 1 deletion proteus-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Proteus Changelog.

<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
<artifactId>jackson-module-blackbird</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.fasterxml.jackson.module.afterburner.AfterburnerModule;
import com.fasterxml.jackson.module.blackbird.BlackbirdModule;
import com.fasterxml.jackson.module.paramnames.ParameterNamesModule;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
Expand All @@ -24,7 +24,7 @@ protected void configure()
objectMapper.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);
objectMapper.configure(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS, true);

objectMapper.registerModule(new AfterburnerModule());
objectMapper.registerModule(new BlackbirdModule());
objectMapper.registerModule(new Jdk8Module());
objectMapper.registerModule(new JavaTimeModule());
objectMapper.registerModule(new ParameterNamesModule());
Expand Down
1 change: 1 addition & 0 deletions proteus-core/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<logger name="io.swagger.jackson" level="ERROR" />
<logger name="io.swagger.v3" level="ERROR" />
<logger name="swagger" level="ERROR" />
<logger name="net.openhft" level="ERROR" />

<logger name="javax.management" level="ERROR" />
<logger name="javax.management.mbeanserver" level="OFF" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.module.afterburner.AfterburnerModule;
import com.fasterxml.jackson.module.blackbird.BlackbirdModule;
import com.google.inject.AbstractModule;
import com.google.inject.Singleton;

Expand All @@ -25,7 +25,7 @@ protected void configure()
objectMapper.configure(DeserializationFeature.USE_BIG_DECIMAL_FOR_FLOATS, true);

objectMapper
.registerModule(new AfterburnerModule())
.registerModule(new BlackbirdModule())
.registerModule(new Jdk8Module());

this.bind(ObjectMapper.class).toInstance(objectMapper);
Expand Down
1 change: 1 addition & 0 deletions proteus-openapi/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<logger name="org.javamoney.moneta" level="ERROR" />"

<logger name="com.sun.jersey" level="ERROR" />
<logger name="net.openhft" level="ERROR" />

<logger name="org.xnio" level="ERROR" />
<logger name="io.undertow" level="ERROR" />
Expand Down

0 comments on commit e9bb94e

Please sign in to comment.