[erlang-questions] An answer: how does SASL know that a process died?
Fri Nov 1 10:49:15 CET 2013
On 2013-10-31 17:15 , Matthias Lang wrote:
> RC> I'm not sure if that can RC be changed or if it needs to remain
> RC> backwards compatible with existing code out there.
> I think it would affect people, but not code.
> People might use the 'process X crashed...' message as part of their
> development workflow, to see problems while hacking.
> I doubt removing it would affect code. The only thing it's likely to
> affect is logging code, and logging code won't care if there's less to
> log. The least farfetched idea I can come up with for useful code that
> would be affected is if someone clever has built a "supervisor-less"
> supervision system based on parsing those messages.
Well, I wasn't going to suggest removing it entirely, but changing the
format so that it's not just a string, and the formatting can be done by
the handler after it decides that it actually cares about this event.
But error loggers would need to handle the new message type.
More information about the erlang-questions