Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
UI: Play framework logging implementation is not configurable #3808
Whenever I try to use the UI I get an exception:
Please indicate relevant versions, including, if relevant:
I've been able to reproduce this issue (process: exclude logback, add log4j).
Play uses SLF4J, and hence the logging implementation should be configurable by simply adding the appropriate SLF4J implementation to the classpath (as is the case with most libraries). However, it seems like this is not the case.
Note that we use Play 2.4 (last version with scala 2.10 support).
Documentation for Play 2.6: suggests that other logging frameworks are supported, but additional (play-specific) configuration is required.
Note however that this is NOT listed under 2.4 documentation:
It's not clear if this was added later (I can't find it in the change log https://www.playframework.com/changelog) or if it is supported, and is just a documentation issue.
Even if it is supported in 2.4, it's not clear how to configure this in maven.