[erlang-questions] Disabling error reporting

Dominic Williams <>
Mon Jan 22 10:07:51 CET 2007

>> erl -kernel error_logger false
> Now I get a bunch of these:
> {error_logger,{{2007,1,19},{16,3,44}},"** Generic server ~p
> terminating \n** Last message in was ~p~n** When Server state ==
> ~p~n** Reason for termination == ~n** ~p~n",[<0.172.0>,
> {exit,bummer},none,bummer]}
> {error_logger,{{2007,1,19},{16,3,44}},crash_report,[[{pid,<0.172.0>},
> {registered_name,[]},{error_info,bummer},{initial_call,{gen,init_it,
> [gen_server,<0.168.0>,<0.168.0>,dummy_task,[10,bummer],[]]}},
> {ancestors,[<0.168.0>,<0.37.0>]},{messages,[]},{links,[<0.168.0>]},
> {dictionary,[]},{trap_exit,true},{status,running},{heap_size,377},
> {stack_size,21},{reductions,114}],[]]}

Well, this appears to be a bug that appeared somewhere around R10B.
It used to work. The {file, "log"} still works fine:

erl -kernel error_logger "{file,\"log\"}"


Dominic Williams


More information about the erlang-questions mailing list