Simin Ghasemi
Simin Ghasemi

Reputation: 91

how to import PlayLogback in build.sbt with playframework

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?

Upvotes: 2

Views: 175

Answers (1)

Tijkijiki
Tijkijiki

Reputation: 802

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

Upvotes: 1

Related Questions