Common Tests and logs

Roberto Ostinelli ostinelli@REDACTED
Sun Nov 17 14:02:51 CET 2019

Hey Andras,
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?
> Br,
> Andras
> On Sat, Nov 16, 2019 at 9:37 PM Roberto Ostinelli <ostinelli@REDACTED>
> wrote:
>> All,
>> 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,
>> r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list