<div dir="ltr">Hey Andras,<div>This still doesn't print logs for other nodes AFAIK. I've ended up redirecting all logs to disk during tests, with something like <font face="monospace">error_logger:logfile({open, atom_to_list(node())})</font>. This makes individual log files be created in the test result's directory...</div><div><br></div><div>If there is a better solution, I'd love to hear it.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 16, 2019 at 11:08 PM Boroska András <<a href="mailto:andras.boroska@gmail.com">andras.boroska@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Roberto,<div><br></div><div>Did you try io:format/3 where the first argument is the 'user' atom?</div><div><br></div><div>Br,</div><div>Andras </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 16, 2019 at 9:37 PM Roberto Ostinelli <<a href="mailto:ostinelli@gmail.com" target="_blank">ostinelli@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">All,<div>I'm having a hard time to get the logs of slave nodes in Common Tests, started with <font face="monospace">ct_slave:start/1,2,3</font>. More specifically, when I use <font face="monospace">ct:pal</font> I only see the messages on the main <font face="monospace">ct@</font> node.</div><div><br></div><div>How can I capture logs running on slave nodes? Given that <font face="monospace">io:format</font> also does not work in the CT environment, I'm not really sure how to proceed.</div><div><br></div><div>Thank you,</div><div>r.</div></div>
</blockquote></div>
</blockquote></div>