[erlang-questions] Can I suppress the error-report when stopping a gen_server?

Jeroen Koops koops.j@REDACTED
Fri Oct 3 10:45:12 CEST 2008


When a gen_server stops by returning {stop, Reason, State} from handle_cast
or handle_call, an error report is logged to the shell:

=ERROR REPORT==== 3-Oct-2008::10:39:45 ===
** Generic server test_server terminating
** Last message in was {'$gen_cast',stop}
** When Server state == 37
** Reason for termination ==
** "Stop requested"
** exited: "Stop requested" **

Is there any way to suppress this?


Jeroen Koops
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081003/7ad8dd91/attachment.htm>

More information about the erlang-questions mailing list