Уровень ведения журнала DEBUG внутри тела другого уровня ведения журнала INFO - PullRequest
0 голосов
/ 08 октября 2018

У нас есть приложение JavaEE EAR, которое развернуто на Payara 4.1.2.1 .Это приложение зависит от:

<dependency>
     <groupId>org.slf4j</groupId>
     <artifactId>slf4j-log4j12</artifactId>
     <version>1.7.2</version>
</dependency>

То, что происходит, заключается в том, что server.log полностью увеличивается с DEBUG сообщением журнала внутри тела INFO сообщение журнала для многих платформ и библиотек, используемых нашим приложением, например: org.jose4j.jws , apache.axis .Это началось после того, как мы изменили версию slf4j-log4j12 .

[2018-10-08T08:03:18.712-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598712] [levelValue: 800] [[
  08:03:18.712 [http-thread-pool::http-listener-1(2)] DEBUG o.jose4j.jwa.AlgorithmFactoryFactory - JWE key management algorithms: [RSA1_5, RSA-OAEP, RSA-OAEP-256, dir, A128KW, A192KW, A256KW, ECDH-ES, ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW, PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW, A128GCMKW, A192GCMKW, A256GCMKW]
]]

[2018-10-08T08:03:18.720-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598720] [levelValue: 800] [[
  08:03:18.720 [http-thread-pool::http-listener-1(2)] DEBUG o.j.j.AlgorithmFactory->ContentEncryptionAlgorithm - org.jose4j.jwe.AesCbcHmacSha2ContentEncryptionAlgorithm$Aes128CbcHmacSha256@6f7dada6 registered for enc algorithm A128CBC-HS256
]]

[2018-10-08T08:03:18.722-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598722] [levelValue: 800] [[
  08:03:18.722 [http-thread-pool::http-listener-1(2)] DEBUG o.j.j.AlgorithmFactory->ContentEncryptionAlgorithm - org.jose4j.jwe.AesCbcHmacSha2ContentEncryptionAlgorithm$Aes192CbcHmacSha384@13aa41bd registered for enc algorithm A192CBC-HS384
]]

[2018-10-08T08:03:18.725-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598725] [levelValue: 800] [[
  08:03:18.725 [http-thread-pool::http-listener-1(2)] DEBUG o.j.j.AlgorithmFactory->ContentEncryptionAlgorithm - org.jose4j.jwe.AesCbcHmacSha2ContentEncryptionAlgorithm$Aes256CbcHmacSha512@52ef3d54 registered for enc algorithm A256CBC-HS512
]]

[2018-10-08T08:03:18.730-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598730] [levelValue: 800] [[
  08:03:18.730 [http-thread-pool::http-listener-1(2)] DEBUG o.j.j.AlgorithmFactory->ContentEncryptionAlgorithm - org.jose4j.jwe.AesGcmContentEncryptionAlgorithm$Aes128Gcm@66fbe55 registered for enc algorithm A128GCM
]]

[2018-10-08T08:03:18.733-0300] [Payara 4.1] [INFORMA��ES] [] [] [tid: _ThreadID=75 _ThreadName=http-thread-pool::http-listener-1(2)] [timeMillis: 1538996598733] [levelValue: 800] [[
  08:03:18.732 [http-thread-pool::http-listener-1(2)] DEBUG o.j.j.AlgorithmFactory->ContentEncryptionAlgorithm - org.jose4j.jwe.AesGcmContentEncryptionAlgorithm$Aes192Gcm@18560c6b registered for enc algorithm A192GCM
]]

Мы уже пытались что-то изменить на уровнях журнала Настройки Logger -> Log Levels в интерфейсе администратора Payara, но эти журналы все еще записываются.

Любые предложения приветствуются.

...