2
votes

I use Play Framework 2.4 and want to use log4j2 for logging. To do this, I should disablePlugins(PlayLogback) in build.sbt but I got following error:

build.sbt:10: error: not found: value PlayLogback lazy val root = (project in file(".")).enablePlugins(PlayJava).disablePlugins(PlayLogback)

How to import PlayLogback in build.sbt?

1

1 Answers

1
votes

Im affraid you are not able use custom logging framework in Play 2.4

Many of our users want to use their own choice of logging framework but this was not possible until Play 2.5.

Source