如何在使用Edeliver部署的Phoenix Web应用程序中查看生产日志?

nel*_*nic 13 erlang logging elixir phoenix-framework devops

使用以下步骤使用Edeliver&Distillery将我们的应用程序成功部署到虚拟机后:https: //github.com/dwyl/learn-phoenix-framework/blob/master/production-deployment.md

该应用程序运行:http://52.232.127.28/ 凤凰-APP-运行

但是当我们试图访问"帖子"路线时:http://52.232.127.28/posts 我们看到internal server error: 凤凰内部服务器错误

作为一个凤凰诺布,不知道如何调试Prod中的日志......

我们如何在虚拟机上看到这些日志?日志在哪里,我们可以tail记录日志吗?

Dog*_*ert 13

在最新版本的Distillery中,日志应该位于./var/log发行版根目录下的文件夹中(DELIVER_TOedeliver中的值).