Sorry if this is a totally noobi开发者_如何学Gosh 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
精彩评论