Skip to content

how to exclude logger #52

@Bertrandbenj

Description

@Bertrandbenj

when adding the owl2Vowl dependency to my spring boot project, all my log4j logs disappears.

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

so I tried excluding every libraries I found related to logging in my gradle file, even some that are not present in the owl2vowl pom.xml

    compile('org.visualdataweb.vowl.owl2vowl:OWL2VOWL:0.3.1'){
        exclude group: 'org.springframework.boot', module: 'spring-boot-starter-log4j2'
        exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
        exclude group: 'org.apache.logging.log4j', module: 'log4j-core'
        exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
        exclude group: 'org.slf4j', module: 'slf4j-api'
        exclude group: 'org.slf4j', module: 'jcl-over-slf4j'
        exclude group: 'org.slf4j', module: 'jul-to-slf4j'
        exclude module: "logback-classic"
        exclude module: "log4j"
    }

but I still cant get my logs back, all I can do is comment owl2vowl dependency to get the project to output log messages.
its seems like a common logging issue... which I don't know how to solve

how to embed the dependency without breaking my logger? is it me doing it wrong or something with owl2vowl?

regards

Anyway, very nice job on this tool !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions