Logging in phoenix web application

How do I configure RUN_ERL_LOG_MAXSIZE and RUN_ERL_LOG_GENERATIONS in a mix release. Any resource aside the docs for mix release, step by step tutorials.

Well, those are environment variables, so just set them accordingly before starting the release?

1 Like

The variables were exported before starting release, strangely it doesn’t seem to work.
export RUN_ERL_LOG_MAXSIZE=10000000
env shows that those variables are set, I will re-run the release again and monitor.
@NobbZ - ever present to assist, most grateful.
Any additional resource you will recommend.