Including logger implementations within a library can cause logging
issues when including in an application. Usually an application will
have specific logging needs and will provide the slf4j log
implementation.
Solution
This change removes log4j dependencies from the compile/runtime
classpath of jInstagram. Only the slf4j API is included.
Additionally logback-classic (slf4j logger impl) is added on the
test classpath for test log debugging.
Coverage decreased (-9.9%) to 56.928% when pulling ebf935d1d8c70cd7c76cf9322007768d7bc3d403 on abargnesi:clean-up-logger-deps into 9c89b9f651471cab8b138c45acf99de2d13d009d on sachin-handiekar:master.
Motivation
Including logger implementations within a library can cause logging issues when including in an application. Usually an application will have specific logging needs and will provide the slf4j log implementation.
Solution
This change removes log4j dependencies from the compile/runtime classpath of jInstagram. Only the slf4j API is included.
Additionally logback-classic (slf4j logger impl) is added on the test classpath for test log debugging.