Sorry if this is a totally noobish question, but where do Play! logs go? e.g. if I'm trying to find a full stack trace and Play! tells me something like This exception has been logged with id 67hg12dhg
, where do I go to find that log?
In DEV mode logs go to the console.
In PROD mode, logs are by default in logs/system.out
Check out official documentation
For Play 2.2 and over (perhaps some older versions as well),if you have used the stage task, which means building your app with
play clean stage
and running it with
target/universal/stage/bin/foo
considering that your app is called foo. Then, your logs will be at
target/universal/stage/logs/application.log
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With