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?
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?
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.
It seems that LoggerFileBackend does not work with Elixir 1.8. Anyone has faced this issue?
I use it with 1.8.1
Thanks Rodriques, which version of OTP are you running it on? I am running on OTP 21.
Me too, 21
Maybe you wanna tell more about your failure?
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.