Gugan Mohan
Gugan Mohan

Reputation: 1645

Log exception in a file using play

I want to log the exceptions in a log file using play 1. Can anyone tell me how to configure it? If it is a duplicate question, point it.

TIA

Upvotes: 1

Views: 175

Answers (1)

huzeyfe
huzeyfe

Reputation: 3704

You could use create a custom log4j.properties in the conf/ directory:

Please see logging for production for details.

Upvotes: 1

Related Questions