Skip to content

Remove logback from distribution #315

@quintesse

Description

@quintesse

Description of the bug

Hoverfly currently includes logback-classic in it's distributions because it's added as a compile dependency (compile 'ch.qos.logback:logback-classic:1.5.13' in the gradle.build file) but this can conflict with other log4j-api implementations that applications might use.

Libraries, like hoverfly-java, that are included and used by others are supposed to use runtimeOnly for logger implementation dependencies so applications can provide their own.

Problem

The problem we are seeing is that simply by adding hoverfly-java as a dependency the logging of our tests has changed completely, even the ones that don't use Hoverfly at all. So adding Hoverfly has changed our global logging.

Expected behaviour

No change in the functioning of our tests when simply adding the hoverfly-java dependency.

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