Where are the log files in production?

I use Deploying with Releases — Phoenix v1.7.14 to deploy my Phoenix application to a Debian Linux system. _build/dev/rel/my_app/bin/my_app start works fine. But where can I find the log files?

Logs go to stdout by default. If you need persisted logs you can either make your system level init tooling (e.g. systemd), which starts your release, aggregate stdout into some log files or you can change your logger configuration within the beam to log to files (logger_std_h — kernel v10.1.1)

1 Like

They are probally in: _build/dev/rel/my_app/tmp/log folder.