Closed adutra closed 4 years ago
We also added recently this dependency to the quickstart:
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
<scope>runtime</scope>
</dependency>
It seems that we cannot use Log4J because it is banned dependency in the quarkus, see:
<!-- Ban Log4J (use org.jboss.logmanager:log4j-jboss-logmanager instead) -->
<exclude>log4j:log4j</exclude>
<exclude>org.apache.logging.log4j:log4j-api</exclude>
<exclude>org.apache.logging.log4j:log4j-core</exclude>
<exclude>org.apache.logging.log4j:log4j-slf4j-impl</exclude>
Instead of this, the logger should be defined like this:
import org.jboss.logging.Logger;
private static final Logger LOGGER = Logger.getLogger(GrpcClientProcessor.class.getName());
We are allowed to use log4j so this issue can be closed
Right now we claim to use SLF4J only. It is indeed our logging API but:
CassandraTestResource
. We should change that. It might also be a good thing, for correctness, to also declare a runtime dependency on that backend.Originally posted by adutra in https://github.com/datastax/cassandra-quarkus/pull/67/files
┆Issue is synchronized with this Jira Task by Unito