13.0.1 breaks Logback logging
slisaasquatch opened this issue · 1 comments
Description
I use GraphQL Java Tools with Play Framework and Logback that comes with Play. Everything works with version 13.0.0. However, 13.0.1 for some reason seems to be forcing my system to use Log4j2.
Expected behavior
I expect GraphQL Java Tools to only expose the SLF4J dependency and not affect the underlying logging implementation.
Actual behavior
My existing Logback logging no longer works. When I start the app, I get this message in the console:
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
And that tells me the underlying logging implementation is no longer Logback, but Log4j2.
Steps to reproduce the bug
Create a Play Framework app and import GraphQL Java Tools 13.0.0 as a dependency, and everything should work. Then update GraphQL Java Tools to 13.0.1, and logging breaks, with the error message above mentioning Log4j2.
Turns out the issue is likely on Play's side. Closing the ticket.