tmvsiva
Scrolling output in iex
Newbie here:
I have a simple application that starts with the Supervisor. It periodically IO.puts some diagnostic information.
Is it possible to run the application with “iex -S mix” and retain a windowed command line within iex so that I can see clearly what commands I am typing and yet see the diagnostic information scroll by above?
Right now anything I type will be interleaved with the program output. Any help would be most appreciated.
Most Liked
NobbZ
Well, you can start one node that just dumps your logs, and connect a remote shell.
Or you dump your logs to a file, not doing IO based calls at all, but Logger only. Start with iex -S mix and enjoy the clean shell, have a second terminal that does tail -f on the logfile(s).
tmvsiva
I didn’t know about nodes at all. Digging into it now, many thanks!







