[erlang-questions] Tracing traffic between nodes

Kenneth Lundin <>
Thu Feb 6 11:31:55 CET 2014


If you have a C-node built with Erl_interface you have an environment named
DEBUG_LEVEL or something that will log messages to and from the Cnode.

/Kenneth


On Wed, Feb 5, 2014 at 3:51 PM, David Welton <> wrote:

> This is surprisingly difficult. It seems that if there are two Erlang
> nodes, my code would probably work.  If there's a C node involved, it
> seems that replacing message sends/receives in the C code with
> something that does the proper logging is the best bet, as I don't
> think the Erlang runtime environment is up to the task: it simply does
> not know where messages come from.
>
> Wireshark has an Erlang distribution parser, which is pretty cool, but
> because of cacheing of atoms, it's not something you can just start up
> and have work, either, in terms of having a log of what was actually
> sent where.
>
> --
> David N. Welton
>
> http://www.welton.it/davidw/
>
> http://www.dedasys.com/
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140206/d822223d/attachment.html>


More information about the erlang-questions mailing list