Reputation: 1805
Is it possible to configure Play framework so instead of writing its logs using logback, it will work with log4j2?
The issue is that our backend uses log4j2 and we don't want to have two different log configurations in our system.
I'll appreciate your help.
Nadav
Upvotes: 0
Views: 870
Reputation: 1347
Since Play 2.5, alternative logging frameworks can be configured: https://www.playframework.com/documentation/2.5.x/SettingsLogger#Using-a-Custom-Logging-Framework
Upvotes: 1