optimaize / language-detector

Language Detection Library for Java
Apache License 2.0
567 stars 165 forks source link

How to remoe Logback from dependencies #104

Open mazzespazze opened 4 years ago

mazzespazze commented 4 years ago

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.

`

com.optimaize.languagedetector
        <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?