Where to find log file in phoenix detached mode

Hi guys,

Sorry, I am new to phoenix and this seems really like a dumb question, however, I couldn’t find any help googling.

I’ve deployed a phoenix application using the following command as stated in the deployment guide.

MIX_ENV=prod PORT=4001 elixir --detached -S mix do compile, phoenix.server

I’ve set logging to output to :console, so where can i find the log file or where is it located?

thank you.

3 Likes

If it is detached, there is nothing on console. :slight_smile:

If you need logs to a file then you should use some kind of logger_file_backend or so to output the logs to files. :slight_smile:

There are backends for other things too. :slight_smile:

4 Likes

Understood.

Thanks a lot for the quick response! :smile:

3 Likes