[erlang-questions] yaws gen_event handler yaws_log_file_h crashed

Marthinus Beneke marthinus.beneke@REDACTED
Fri Jun 1 12:45:10 CEST 2018

        Good day

I have an error in yaws that I have been trying to solve to no avail and
need some help.

I'm using OTP 20 which I installed from source and yaws-2.0.5 that I
cloned from github.com/klacke/yaws
> Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:1:1] [ds:1:1:10]
> [async-threads:10] [hipe] [kernel-poll:false]

Everything compiles and the modules start up correctly but the write to
the report.log file fails.
The file is however created and the .access and .auth files are created
and written to.

Here is the error
> =ERROR REPORT==== 1-Jun-2018::12:09:22 ===
> ** gen_event handler yaws_log_file_h crashed.
> ** Was installed in error_logger
> ** Last event was: {info_report,<0.59.0>,
>                                 {<0.33.0>,progress,
>                                  [{application,myapplication},
>                                   {started_at,myapplication@REDACTED}]}}
> ** When handler state == {<0.211.0>,"./report.log",[]}
> ** Reason == {function_clause,
>                  [{error_logger_file_h,write_event,
>                       [{<0.211.0>,"./report.log",[]},
>                        {info_report,<0.59.0>,
>                            {<0.33.0>,progress,
>                             [{application,myapplication},
>                              {started_at,myapplication@REDACTED}]}}],
>                       [{file,"error_logger_file_h.erl"},{line,106}]},
>                   {error_logger_file_h,handle_event,2,
>                       [{file,"error_logger_file_h.erl"},{line,71}]},
>                   {gen_event,server_update,4,
>                       [{file,"gen_event.erl"},{line,574}]},
>                   {gen_event,server_notify,4,
>                       [{file,"gen_event.erl"},{line,556}]},
> {gen_event,handle_msg,6,[{file,"gen_event.erl"},{line,297}]},
>                   {proc_lib,init_p_do_apply,3,
>                       [{file,"proc_lib.erl"},{line,247}]}]}



Marthinus Beneke

Mobile: 083 657 5801
Phone: 011 653 5387
Email: marthinus.beneke@REDACTED

www.cellfind.co.za  Email: marthinus.beneke@REDACTED

	For Disclaimer and Confidentiality note: Click Here


The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180601/6f561b39/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RSImage.jpeg
Type: image/jpeg
Size: 49212 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180601/6f561b39/attachment.jpeg>

More information about the erlang-questions mailing list