optimaize/language-detector

How to remoe Logback from dependencies

Opened this issue · 0 comments

When adding the project as a Maven project, every time a language is detected a log message is printed on console

11:10:25.850 [main] DEBUG com.optimaize.langdetect.LanguageDetectorImpl - ==> [DetectedLanguage[en:0.6164209101326091], DetectedLanguage[sk:0.24601736898553578]]

I tried in the pom to exclude logback from the dependencies as this but without success.

<dependency> <groupId>com.optimaize.languagedetector</groupId> <artifactId>language-detector</artifactId> <version>0.6</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> </exclusions> </dependency>

Is there any way to remove such message, suppressing the dependency or something similar?