yaws gen_event handler yaws_log_file_h crashed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

yaws gen_event handler yaws_log_file_h crashed

Marthinus Beneke
 

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@ubuntu}]}}
> ** 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@ubuntu}]}}],
>                       [{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}]}]}

Thanks

--



Marthinus Beneke
Senior Software Developer & Systems Architect

 

Mobile: 083 657 5801

Phone: 011 653 5387

 

 www.cellfind.co.za

 
 
Find Out More  

For Disclaimer and Confidentiality note: Click Here



Disclaimer

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 Click Here.


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions