Common Tests and logs
Sun Nov 17 14:02:51 CET 2019
This still doesn't print logs for other nodes AFAIK. I've ended up
redirecting all logs to disk during tests, with something like
atom_to_list(node())}). This makes individual log files be created in the
test result's directory...
If there is a better solution, I'd love to hear it.
On Sat, Nov 16, 2019 at 11:08 PM Boroska András <andras.boroska@REDACTED>
> Hi Roberto,
> Did you try io:format/3 where the first argument is the 'user' atom?
> On Sat, Nov 16, 2019 at 9:37 PM Roberto Ostinelli <ostinelli@REDACTED>
>> I'm having a hard time to get the logs of slave nodes in Common Tests,
>> started with ct_slave:start/1,2,3. More specifically, when I use ct:pal
>> I only see the messages on the main ct@ node.
>> How can I capture logs running on slave nodes? Given that io:format also
>> does not work in the CT environment, I'm not really sure how to proceed.
>> Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions