[infinispan-issues] [JBoss JIRA] (ISPN-8283) Required runtime dependency to log4j

Daniel H. Peger (JIRA) issues at jboss.org
Tue Sep 12 07:11:01 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel H. Peger updated ISPN-8283:
----------------------------------
    Description: 
Current versions of the 8.2.X release of infinispan declare a runtime dependency to several log4j libraries. I noticed this for the artifacts {{org.infinispan:infinispan-spring4-embedded}} and {{org.infinispan:infinispan-spring4-common}} but there may be possibly others. These dependencies may break the logging configuration of applications using infinispan as log4j2 and the respective SLF4J binding is suddenly on the application classpath which may happen unnoticed.

This dependency is not present in the most recent 9.1.0 artifacts anymore.

See the [SLF4J documentation|https://www.slf4j.org/codes.html#multiple_bindings] for best practices on using SLF4J.

This issue relates to ISPN-786 but is still present in infinispan 8.2.7

  was:
Current versions of the 8.2.X release of infinispan declare a runtime dependency to several log4j libraries. I noticed this for the artifacts {{org.infinispan:infinispan-spring4-embedded}} and {{org.infinispan:infinispan-spring4-common}} but there may be possibly others. These dependencies may break the logging configuration of applications using infinispan as log4j2 and the respective SLF4J binding is suddenly on the application classpath which may happen unnoticed.

This dependency is not present in the most recent 9.1.0 artifacts.

See the [SLF4J documentation|https://www.slf4j.org/codes.html#multiple_bindings] for best practices on using SLF4J.

This issue relates to ISPN-786 but is still present in infinispan 8.2.7



> Required runtime dependency to log4j
> ------------------------------------
>
>                 Key: ISPN-8283
>                 URL: https://issues.jboss.org/browse/ISPN-8283
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Build process
>    Affects Versions: 8.2.7.Final
>            Reporter: Daniel H. Peger
>
> Current versions of the 8.2.X release of infinispan declare a runtime dependency to several log4j libraries. I noticed this for the artifacts {{org.infinispan:infinispan-spring4-embedded}} and {{org.infinispan:infinispan-spring4-common}} but there may be possibly others. These dependencies may break the logging configuration of applications using infinispan as log4j2 and the respective SLF4J binding is suddenly on the application classpath which may happen unnoticed.
> This dependency is not present in the most recent 9.1.0 artifacts anymore.
> See the [SLF4J documentation|https://www.slf4j.org/codes.html#multiple_bindings] for best practices on using SLF4J.
> This issue relates to ISPN-786 but is still present in infinispan 8.2.7



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list