Phenomics / ontolib

A modern Java library for working with (biological) ontologies.
https://ontolib.readthedocs.org
Other
9 stars 2 forks source link

SLF4J messages #16

Closed pnrobinson closed 7 years ago

pnrobinson commented 7 years ago

Hi I am using log4j in my application code and yet I am getting these messages from SLF4J. This is undesired behavior for library code.

SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/peter/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.5/log4j-slf4j-impl-2.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/peter/.m2/repository/org/slf4j/slf4j-log4j12/1.7.24/slf4j-log4j12-1.7.24.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/peter/.m2/repository/com/github/phenomics/ontolib-cli/0.2/ontolib-cli-0.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.

pnrobinson commented 7 years ago

Sorry, this was a bug in my pom file.

holtgrewe commented 7 years ago

Actually it is bug in v0.2 but fixed in develop. Will release 0.3 on Monday.

holtgrewe commented 7 years ago

Fixed in #19.