Log files in Distillery releases

When I use Distillery, copy the archive to a machine, and start the application using:

APP_DIR/bin/my_app start

Where (if anywhere) does the application’s output go?
Presumably this would be controlled by my Logger config?

1 Like

Correct. By default it goes to stdout if you are using the console backend. You can use something like LoggerFileBackend to output to a file, or log to the system log, or to a remote service, or whatever. :slight_smile:

3 Likes

It seems that LoggerFileBackend does not work with Elixir 1.8. Anyone has faced this issue?

I use it with 1.8.1

1 Like

Thanks Rodriques, which version of OTP are you running it on? I am running on OTP 21.

1 Like

Me too, 21 :wink:

Maybe you wanna tell more about your failure?

1 Like

Thanks rodrigues, I don’t know what I did wrong but I’ve fought 3 hours last Friday on that and I was not able to make it work. I have reverted what I have done and restarted and now everything is working perfectly. Sorry for the bothering,I have no clue what I did wrong.

1 Like