2016-07-21 12:55:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-07-23 15:37:29 +00:00
|
|
|
<Configuration status="info" shutdownHook="disable">
|
2016-07-21 12:55:40 +00:00
|
|
|
|
|
|
|
<Properties>
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<Property name="log_path">${sys:log-path:-logs}</Property>
|
|
|
|
<Property name="log_name">node-${hostName}</Property>
|
|
|
|
<Property name="diagnostic_log_name">diagnostic-${hostName}</Property>
|
|
|
|
<Property name="archive">${log_path}/archive</Property>
|
|
|
|
<Property name="default_log_level">${sys:defaultLogLevel:-info}</Property>
|
|
|
|
<Property name="console_log_level">${sys:consoleLogLevel:-error}</Property>
|
2016-07-21 12:55:40 +00:00
|
|
|
</Properties>
|
|
|
|
|
|
|
|
<Appenders>
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<!-- The default console appender - prints no exception information -->
|
|
|
|
<Console name="Console-Appender" target="SYSTEM_OUT">
|
|
|
|
<PatternLayout
|
|
|
|
pattern="%highlight{[%level{length=5}] %date{HH:mm:ssZ} [%t] %c{2}.%method - %msg%n%throwable{0}}{INFO=white,WARN=red,FATAL=bright red}"/>
|
|
|
|
</Console>
|
|
|
|
|
|
|
|
<!-- The console appender when debug or trace level logging is specified. Prints full stack trace -->
|
|
|
|
<Console name="Console-Debug-Appender" target="SYSTEM_OUT">
|
|
|
|
<PatternLayout
|
|
|
|
pattern="%highlight{[%level{length=5}] %date{HH:mm:ssZ} [%t] %c{2}.%method - %msg%n%throwable{}}{INFO=white,WARN=red,FATAL=bright red}"/>
|
|
|
|
</Console>
|
2016-07-21 12:55:40 +00:00
|
|
|
|
2017-03-15 16:18:24 +00:00
|
|
|
<!-- Required for printBasicInfo -->
|
|
|
|
<Console name="Console-Appender-Println" target="SYSTEM_OUT">
|
2019-01-11 17:40:32 +00:00
|
|
|
<PatternLayout pattern="%msg%n%throwable{0}" />
|
2017-03-15 16:18:24 +00:00
|
|
|
</Console>
|
|
|
|
|
2020-03-02 09:26:46 +00:00
|
|
|
<!-- Will generate up to 500 log files for a given day. Adjust this number according to the available storage.
|
|
|
|
During every rollover it will delete those that are older than 60 days, but keep the most recent 10 GB -->
|
2018-11-08 14:33:45 +00:00
|
|
|
<RollingRandomAccessFile name="RollingFile-Appender"
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
fileName="${log_path}/${log_name}.log"
|
|
|
|
filePattern="${archive}/${log_name}.%date{yyyy-MM-dd}-%i.log.gz">
|
|
|
|
|
|
|
|
<PatternLayout pattern="[%-5level] %date{ISO8601}{UTC}Z [%t] %c{2}.%method - %msg%n"/>
|
2016-07-21 12:55:40 +00:00
|
|
|
|
|
|
|
<Policies>
|
|
|
|
<TimeBasedTriggeringPolicy/>
|
2018-10-02 09:33:17 +00:00
|
|
|
<SizeBasedTriggeringPolicy size="100MB"/>
|
2016-07-21 12:55:40 +00:00
|
|
|
</Policies>
|
|
|
|
|
2020-03-02 09:26:46 +00:00
|
|
|
<DefaultRolloverStrategy min="1" max="500">
|
2016-07-21 12:55:40 +00:00
|
|
|
<Delete basePath="${archive}" maxDepth="1">
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<IfFileName glob="${log_name}*.log.gz"/>
|
2016-07-21 12:55:40 +00:00
|
|
|
<IfLastModified age="60d">
|
|
|
|
<IfAny>
|
|
|
|
<IfAccumulatedFileSize exceeds="10 GB"/>
|
|
|
|
</IfAny>
|
|
|
|
</IfLastModified>
|
|
|
|
</Delete>
|
|
|
|
</DefaultRolloverStrategy>
|
|
|
|
|
2018-11-08 14:33:45 +00:00
|
|
|
</RollingRandomAccessFile>
|
|
|
|
|
2019-03-18 17:08:13 +00:00
|
|
|
<!-- Will generate up to 100 log files for a given day. During every rollover it will delete
|
|
|
|
those that are older than 60 days, but keep the most recent 10 GB -->
|
|
|
|
<RollingRandomAccessFile name="Diagnostic-RollingFile-Appender"
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
fileName="${log_path}/${diagnostic_log_name}.log"
|
|
|
|
filePattern="${archive}/${diagnostic_log_name}.%date{yyyy-MM-dd}-%i.log.gz">
|
|
|
|
|
|
|
|
<PatternLayout pattern="[%-5level] %date{ISO8601}{UTC}Z [%t] %c{2}.%method - %msg%n"/>
|
2019-03-18 17:08:13 +00:00
|
|
|
|
|
|
|
<Policies>
|
|
|
|
<TimeBasedTriggeringPolicy/>
|
|
|
|
<SizeBasedTriggeringPolicy size="100MB"/>
|
|
|
|
</Policies>
|
|
|
|
|
|
|
|
<DefaultRolloverStrategy min="1" max="100">
|
|
|
|
<Delete basePath="${archive}" maxDepth="1">
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<IfFileName glob="${diagnostic_log_name}*.log.gz"/>
|
2019-03-18 17:08:13 +00:00
|
|
|
<IfLastModified age="60d">
|
|
|
|
<IfAny>
|
|
|
|
<IfAccumulatedFileSize exceeds="10 GB"/>
|
|
|
|
</IfAny>
|
|
|
|
</IfLastModified>
|
|
|
|
</Delete>
|
|
|
|
</DefaultRolloverStrategy>
|
|
|
|
|
|
|
|
</RollingRandomAccessFile>
|
|
|
|
|
2019-08-01 08:40:52 +00:00
|
|
|
<RollingFile name="Checkpoint-Agent-RollingFile-Appender"
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
fileName="${log_path}/checkpoints_agent-${date:yyyyMMdd-HHmmss}.log"
|
2019-08-01 08:40:52 +00:00
|
|
|
filePattern="${archive}/checkpoints_agent.%date{yyyy-MM-dd}-%i.log.gz">
|
|
|
|
|
|
|
|
<PatternLayout pattern="[%-5level] %date{ISO8601}{UTC}Z [%t] %c{2}.%method - %msg%n"/>
|
|
|
|
|
|
|
|
<Policies>
|
|
|
|
<TimeBasedTriggeringPolicy/>
|
|
|
|
<SizeBasedTriggeringPolicy size="100MB"/>
|
|
|
|
</Policies>
|
|
|
|
|
|
|
|
<DefaultRolloverStrategy min="1" max="100">
|
|
|
|
<Delete basePath="${archive}" maxDepth="1">
|
2023-11-03 09:58:00 +00:00
|
|
|
<IfFileName glob="checkpoints_agent*.log.gz"/>
|
2019-08-01 08:40:52 +00:00
|
|
|
<IfLastModified age="60d">
|
|
|
|
<IfAny>
|
|
|
|
<IfAccumulatedFileSize exceeds="10 GB"/>
|
|
|
|
</IfAny>
|
|
|
|
</IfLastModified>
|
|
|
|
</Delete>
|
|
|
|
</DefaultRolloverStrategy>
|
|
|
|
|
|
|
|
</RollingFile>
|
|
|
|
|
2019-01-11 17:40:32 +00:00
|
|
|
<Rewrite name="Console-ErrorCode-Selector">
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<AppenderRef ref="Console-Appender"/>
|
2018-11-08 14:33:45 +00:00
|
|
|
</Rewrite>
|
|
|
|
|
|
|
|
<Rewrite name="Console-ErrorCode-Appender-Println">
|
|
|
|
<AppenderRef ref="Console-Appender-Println"/>
|
|
|
|
</Rewrite>
|
|
|
|
|
|
|
|
<Rewrite name="RollingFile-ErrorCode-Appender">
|
|
|
|
<AppenderRef ref="RollingFile-Appender"/>
|
|
|
|
</Rewrite>
|
2019-03-18 17:08:13 +00:00
|
|
|
<Rewrite name="Diagnostic-RollingFile-ErrorCode-Appender">
|
|
|
|
<AppenderRef ref="Diagnostic-RollingFile-Appender"/>
|
|
|
|
</Rewrite>
|
2016-07-21 12:55:40 +00:00
|
|
|
</Appenders>
|
|
|
|
|
|
|
|
<Loggers>
|
Upgrade to gradle 7.6, kotlin 1.8 and jdk 17
Major changes due to JDK 17:
1. JDK17 JCE Provider now has built-in support for eddsas, corda uses
the bouncycastle (i2p) implementation. This PR removes the conflicting
algorithms from the built-in JCE provider.
2. JavaScript scripting has been removed from the JDK, the corda log4j config was using
scripting to conditionally output additional diagnostic info if the MDC
was populated. This PR has removed the scripting.
3. The artifactory plug-ins used are now deprecated, this PR has removed them
and uses the same code as Corda 5 for publishing to artifactory.
4. Javadoc generation has been modified to use the latest dokka plug-ins.
5. Gradle 7.6 has implemented an incredibly annoying change where transitive
dependencies are not put on the compile classpath, so that they have to be
explicitly added as dependencies to projects.
6. Mockito has been updated, which sadly meant that quite a few source files
have to changes to use the new (org.mockito.kotlin) package name. This makes
this PR appear much larger than it is.
7. A number of tests have been marked as ignored to get a green, broadly they fall
into 3 classes.
The first is related to crypto keypair tests, it appears some logic
in the JDK prefers to use the SunJCE implementation and we prefer to use
bouncycastle. I believe this issue can be fixed with better test setup.
The second group is related to our use of a method called "uncheckedCast(..)",
the purpose of this method was to get rid of the annoying unchecked cast compiler
warning that would otherwise exist. It looks like the Kotlin 1.9 compiler type
inference differs and at runtime sometimes the type it infers is "Void" which causes
an exception at runtime. The simplest solution is to use an explicit cast instead of
unchecked cast, Corda 5 have removed unchecked cast from their codebase.
The third class are a number of ActiveMQ tests which appear to have a memory leak somewhere.
2023-03-08 12:19:05 +00:00
|
|
|
<Root level="${default_log_level}">
|
|
|
|
<AppenderRef ref="Console-ErrorCode-Selector" level="${console_log_level}"/>
|
2018-11-08 14:33:45 +00:00
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
2018-06-05 08:25:47 +00:00
|
|
|
</Root>
|
2017-03-15 16:18:24 +00:00
|
|
|
<Logger name="BasicInfo" additivity="false">
|
2018-11-08 14:33:45 +00:00
|
|
|
<AppenderRef ref="Console-ErrorCode-Appender-Println"/>
|
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
2017-03-15 16:18:24 +00:00
|
|
|
</Logger>
|
2019-03-18 17:08:13 +00:00
|
|
|
<Logger name="org.hibernate" level="warn" additivity="false">
|
|
|
|
<AppenderRef ref="Diagnostic-RollingFile-ErrorCode-Appender"/>
|
|
|
|
</Logger>
|
2018-06-01 15:16:23 +00:00
|
|
|
<Logger name="org.hibernate.SQL" level="info" additivity="false">
|
2019-01-11 17:40:32 +00:00
|
|
|
<AppenderRef ref="Console-ErrorCode-Selector"/>
|
2018-11-08 14:33:45 +00:00
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
2018-06-01 15:16:23 +00:00
|
|
|
</Logger>
|
2022-07-12 14:06:55 +00:00
|
|
|
<Logger name="org.apache.activemq.artemis.core.server" level="warn" additivity="false">
|
2022-11-17 11:27:18 +00:00
|
|
|
<AppenderRef ref="Console-ErrorCode-Selector">
|
|
|
|
<Filters>
|
|
|
|
<RegexFilter regex=".*AMQ222061.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
|
|
|
<RegexFilter regex=".*AMQ222107.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
|
|
|
<RegexFilter regex=".*AMQ222165.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
|
|
|
<RegexFilter regex=".*AMQ222166.*" onMatch="DENY" onMismatch="NEUTRAL"/>
|
|
|
|
</Filters>
|
|
|
|
</AppenderRef>
|
2018-11-08 14:33:45 +00:00
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
2017-03-29 10:40:19 +00:00
|
|
|
</Logger>
|
ENT-6286: OS: Upgrade version of Artemis to 2.19.1 (#6975)
Fixes DDoS attack mentioned on the Jira ticket.
PR upgrades Artemis library to version 2.19.1.
This is our own release of Apache Artemis library which has vulnerability fix for v2.20 applied.
**_Breaking changes discovered during Artemis upgrade:_**
1. When the queue is created as temporary, it needs to explicitly be specified as non-durable.
2. By default, Artemis Client performs Host DNS name check against the certificate presented by the server. Our TLS certificates fail this check and this verification has to be explicitly disabled, see use of: `TransportConstants.VERIFY_HOST_PROP_NAME`.
3. Artemis Server now caches login attempts, even unsuccessful ones. When we add RPC users dynamically via DB insert this may have an unexpected outcome if the user with the same `userName` and `password` was not available previously.
To workaround permissions changing dynamically, authorization and authentication caches had to be disabled.
4. When computing `maxMessageSize`, the size of the headers content is now taken into account as well.
5. Artemis handling of start-up errors has changed. E.g. when the port is already bound.
6. A number of deprecated APIs like: `createTemporaryQueue`, `failoverOnInitialAttempt`, `NullOutputStream`, `CoreQueueConfiguration`.
7. Log warning message is produced like: `AMQ212080: Using legacy SSL store provider value: JKS. Please use either 'keyStoreType' or 'trustStoreType' instead as appropriate.`
8. As reported by QA, Artemis now produces more audit logging more details [here](https://r3-cev.atlassian.net/browse/ENT-6540). Log configuration been adjusted to reduce such output.
2022-01-21 09:18:14 +00:00
|
|
|
<Logger name="org.apache.activemq.audit" level="error" additivity="false">
|
|
|
|
<AppenderRef ref="Console-ErrorCode-Selector"/>
|
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
|
|
|
</Logger>
|
2018-03-07 13:12:15 +00:00
|
|
|
<Logger name="org.jolokia" additivity="true" level="warn">
|
2018-11-08 14:33:45 +00:00
|
|
|
<AppenderRef ref="Console-ErrorCode-Appender-Println"/>
|
|
|
|
<AppenderRef ref="RollingFile-ErrorCode-Appender"/>
|
2018-03-07 13:12:15 +00:00
|
|
|
</Logger>
|
2019-08-01 08:40:52 +00:00
|
|
|
<Logger name="CheckpointAgent" level="debug" additivity="false">
|
|
|
|
<AppenderRef ref="Checkpoint-Agent-RollingFile-Appender"/>
|
|
|
|
</Logger>
|
2016-07-21 12:55:40 +00:00
|
|
|
</Loggers>
|
2017-03-30 10:04:51 +00:00
|
|
|
</Configuration>
|