I am wondering if I am doing this properly – I made another post about this but I deleted it because maybe it was unclear, so this time I will attempt to make the problem clear.
I am running my app inside iex and there are many log messages. I wish to do some inspections and monitoring of processes and GenStage to see how the progress is going. So I thought I could connect to the running iex session from a different terminal window.
In terminal 1, I start like this: iex --sname conn1 -S mix
In terminal 2, I start like this: iex --sname conn2 --remsh conn1@my-computer -S mix
The problem is that I still see all the log messages in terminal 2, so I still cannot do the inspections.
I am very confused with this and I think I must be doing something wrong. In one simple app, this works ok and the log messages do not appear in terminal 2. But in my regular app, both terminal 1 and terminal 2 show the same firehose of log messages. I have tried removing many things from my app but this still happens.
Thank you for any ideas for how to fix this!