Skip to content

Commit

Permalink
Merge pull request #77 from reactivegroup/feature/metrics
Browse files Browse the repository at this point in the history
upgrade logback version
  • Loading branch information
dgzpg authored Dec 7, 2021
2 parents f10b608 + e873b73 commit da82340
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 28 deletions.
4 changes: 2 additions & 2 deletions examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>capa-parent</artifactId>
<groupId>group.rxcloud</groupId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-examples</artifactId>
Expand All @@ -32,7 +32,7 @@

<properties>
<log4j.version>2.14.1</log4j.version>
<logback.version>1.1.7</logback.version>
<logback.version>1.2.3</logback.version>
<slf4j-api.version>1.7.32</slf4j-api.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<groupId>group.rxcloud</groupId>
<artifactId>capa-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
<name>capa-sdk-parent</name>
<description>SDK for Capa.</description>
<url>https://github.com/reactivegroup</url>
Expand Down
4 changes: 2 additions & 2 deletions sdk-component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>group.rxcloud</groupId>
<artifactId>capa-parent</artifactId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-sdk-component</artifactId>
Expand All @@ -34,7 +34,7 @@
<okhttp.version>4.9.1</okhttp.version>
<kotlin-stdlib.version>1.4.10</kotlin-stdlib.version>
<log4j.version>2.14.1</log4j.version>
<logback.version>1.1.7</logback.version>
<logback.version>1.2.3</logback.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sdk-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>capa-parent</artifactId>
<groupId>group.rxcloud</groupId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-sdk-infrastructure</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions sdk-spi-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>capa-parent</artifactId>
<groupId>group.rxcloud</groupId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-sdk-spi-demo</artifactId>
Expand All @@ -32,7 +32,7 @@

<properties>
<log4j.version>2.14.1</log4j.version>
<logback.version>1.1.7</logback.version>
<logback.version>1.2.3</logback.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LOG_COMPONENT_CENTER_CONFIG_APPID=100035464
4 changes: 2 additions & 2 deletions sdk-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>capa-parent</artifactId>
<groupId>group.rxcloud</groupId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-sdk-spi</artifactId>
Expand All @@ -32,7 +32,7 @@

<properties>
<log4j.version>2.14.1</log4j.version>
<logback.version>1.1.7</logback.version>
<logback.version>1.2.3</logback.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,36 +79,36 @@ public static Boolean whetherLogsCanOutput(CapaLogLevel capaLogLevel) {
switch (capaLogLevel) {
case ALL:
return LogConfiguration.containsKey(ALL_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(ALL_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(ALL_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case TRACE:
return LogConfiguration.containsKey(TRACE_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(TRACE_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(TRACE_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case DEBUG:
return LogConfiguration.containsKey(DEBUG_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(DEBUG_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(DEBUG_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case INFO:
return LogConfiguration.containsKey(INFO_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(INFO_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(INFO_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case WARN:
return LogConfiguration.containsKey(WARN_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(WARN_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(WARN_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case ERROR:
return LogConfiguration.containsKey(ERROR_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(ERROR_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(ERROR_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case FATAL:
return LogConfiguration.containsKey(FATAL_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(FATAL_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(FATAL_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
case OFF:
return LogConfiguration.containsKey(OFF_LEVEL_SWITCH_NAME)
? Boolean.FALSE
: Boolean.parseBoolean(LogConfiguration.get(OFF_LEVEL_SWITCH_NAME));
? Boolean.parseBoolean(LogConfiguration.get(OFF_LEVEL_SWITCH_NAME))
: Boolean.FALSE;
default:
return Boolean.FALSE;
}
Expand Down
2 changes: 1 addition & 1 deletion sdk-springboot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>capa-parent</artifactId>
<groupId>group.rxcloud</groupId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>sdk-springboot</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>group.rxcloud</groupId>
<artifactId>capa-parent</artifactId>
<version>1.0.9.RELEASE</version>
<version>1.10.9.2.RELEASE</version>
</parent>

<artifactId>capa-sdk</artifactId>
Expand Down

0 comments on commit da82340

Please sign in to comment.