[INFO] com.bosch:loggingPOC:jar:1.0-SNAPSHOT
[INFO] +- io.vertx:vertx-core:jar:2.1M3:provided
[INFO] | +- org.slf4j:slf4j-api:jar:1.6.2:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.2.2:provided
[INFO] | | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.2.2:provided
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.2.2:provided
[INFO] | +- log4j:log4j:jar:1.2.16:provided
[INFO] | \- io.netty:netty-all:jar:4.0.14.Final:provided
[INFO] +- io.vertx:vertx-platform:jar:2.1M3:provided
[INFO] +- io.vertx:vertx-hazelcast:jar:2.1M3:provided
[INFO] | \- com.hazelcast:hazelcast:jar:2.6.3:provided
[INFO] \- ch.qos.logback:logback-classic:jar:1.1.1:compile
[INFO] \- ch.qos.logback:logback-core:jar:1.1.1:compile
When running the module using mvn vertx:runMod, there are not logging outputs. The logger instance has the class org.slf4j.helpers.NOPLogger, which tells me that SLF4J wasn't able to find the logback binding.
Running the same module with vertx runmod (after mvn package), works just fine, though.
Can anyone provide a hint as to what I might be doing wrong, here? Might it be some maven plugin that uses another binding which prevents SLF4J to bind to logback?
Thanks in advance for your suggestions and cheers,
Georg
Are you trying to use SLF4J with container.logger()? Or something else?
--
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/rLQ59QxzvTw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
mvn vertx:runMod -Djava.util.logging.config.file=src/main/platform_lib/logging.properties