typesense / typesense-java

Java client for Typesense
https://typesense.org/docs/latest/api/
Apache License 2.0
58 stars 28 forks source link

logback.xml included in jar overwrites all logback configs #33

Closed michaelvision closed 1 year ago

michaelvision commented 1 year ago

Description

The final jar incldues the logback config file: logback.xml

This should be avoided as described here: https://mkyong.com/maven/maven-exclude-logback-xml-in-jar-file/

Steps to reproduce

Any spring boot project which uses logback will have their config overwritten. Everything is logged at TRACE level to the Console.

Fix

Using maven the resource can simply be excluded from the final jar, the same should be possible in the build.gradle file.