[erlang-questions] cth_log_redirect crashes with timeout in application_controller?

Luca Favatella luca.favatella@REDACTED
Wed May 7 17:44:51 CEST 2014


----- Original Message -----
> On 7 May 2014 16:37, Robert Raschke <rtrlists@REDACTED> wrote:
[...]
> > If I remember correctly, I worked around this by explicitly disabling the
> > logging before stopping applications.
> 
> Any idea how to do that?

error_logger:delete_report_handler(cth_log_redirect),
my_application_utils:ensure_all_stopped(my_app),
error_logger:add_report_handler(cth_log_redirect)

Regards
Luca



More information about the erlang-questions mailing list