play1 icon indicating copy to clipboard operation
play1 copied to clipboard

please add log4j2 config to a sample project

Open teicher opened this issue 2 years ago • 1 comments

It seems log4j was upgraded to log4j2 in #1367 for play 1.7.0

So any application using oldstyle log4j.properties will/did now stop producing logfiles. It is not clear from docu or anywhere else how to configure log4j2. Adding a basic log4j2.xml in conf/ folder had no effect. Maybe a change in application.conf is required? Or adding a dependency.yml entry?

May I ask you to please add a most basic working log4j2 setup to any of the projects under samples-and-tests ?

teicher avatar Feb 24 '23 22:02 teicher

image

jacol84 avatar Jun 06 '23 08:06 jacol84