elixir
elixir copied to clipboard
GenServer termination log doesn't use process label
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.1.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.17.3 (compiled with Erlang/OTP 25)
Operating system
MacOS Sonoma 14.6
Current behavior
GenServer termination logs GenServer #PID<0.812305.0> terminating
Expected behavior
If a process label has been set, it should be included in this log instead of, or in addition to, the PID
@nathanl it actually should be the case already if the label is present, would you have a repro for this?
One hypothesis: it could be a manually emitted one supported by this clause (no longer emitted by Erlang/OTP but it may be manually emitted by libraries like connection, != the clause being tested). But in this case, I don't think we even have the process label data available, so I'm not sure there's anything to be done.
Elixir 1.17.3 (compiled with Erlang/OTP 25)
Another hypothesis, although I don't think that's the reason, but just to rule it out: do you have the same issue if you use a "compiled with OTP27" version?
Hi @nathanl, please let us know if you have updates here. Thanks!
I will close this since we cannot reproduce. But we will gladly reopen if we have more info!