<html><head>
<style>
@-ms-viewport {
  width: device-width;
}
</style>
<style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;"> </td></tr></tbody></table><table border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="max-width: 100%; height: auto;"><br>Good day <br />
<br />
I have an error in yaws that I have been trying to solve to no avail and <br />
need some help. <br />
<br />
I'm using OTP 20 which I installed from source and yaws-2.0.5 that I <br />
cloned from github.com/klacke/yaws <br />
> Erlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:1:1] [ds:1:1:10] <br />
> [async-threads:10] [hipe] [kernel-poll:false] <br />
<br />
Everything compiles and the modules start up correctly but the write to <br />
the report.log file fails. <br />
The file is however created and the .access and .auth files are created <br />
and written to. <br />
<br />
Here is the error <br />
> =ERROR REPORT==== 1-Jun-2018::12:09:22 === <br />
> ** gen_event handler yaws_log_file_h crashed. <br />
> ** Was installed in error_logger <br />
> ** Last event was: {info_report,<0.59.0>, <br />
>                                 {<0.33.0>,progress, <br />
>                                  [{application,myapplication}, <br />
>                                   {started_at,myapplication@ubuntu}]}} <br />
> ** When handler state == {<0.211.0>,"./report.log",[]} <br />
> ** Reason == {function_clause, <br />
>                  [{error_logger_file_h,write_event, <br />
>                       [{<0.211.0>,"./report.log",[]}, <br />
>                        {info_report,<0.59.0>, <br />
>                            {<0.33.0>,progress, <br />
>                             [{application,myapplication}, <br />
>                              {started_at,myapplication@ubuntu}]}}], <br />
>                       [{file,"error_logger_file_h.erl"},{line,106}]}, <br />
>                   {error_logger_file_h,handle_event,2, <br />
>                       [{file,"error_logger_file_h.erl"},{line,71}]}, <br />
>                   {gen_event,server_update,4, <br />
>                       [{file,"gen_event.erl"},{line,574}]}, <br />
>                   {gen_event,server_notify,4, <br />
>                       [{file,"gen_event.erl"},{line,556}]}, <br />
>                   <br />
> {gen_event,handle_msg,6,[{file,"gen_event.erl"},{line,297}]}, <br />
>                   {proc_lib,init_p_do_apply,3, <br />
>                       [{file,"proc_lib.erl"},{line,247}]}]} <br />
<br />
Thanks <br />
<br />
--  <br />
<br />
<br />
</td></tr></tbody></table></td></tr><tr><td style="max-width: 100%; height: auto;"><br><table border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;" align="left" valign="bottom"><p style="margin: 0;"><font size="3" style="color: #2c3038;"><b><font face="arial,helvetica,sans-serif">Marthinus Beneke</font></b></font><br><font face="arial,helvetica,sans-serif" size="2" style="color: #2c3038;">Senior Software Developer & Systems Architect</font></p></td></tr><tr><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;" align="left"><p style="margin: 0;"><font face="arial,helvetica,sans-serif" size="2" style="color: #9d9d9d;">Mobile: 083 657 5801</font></p></td></tr><tr><td style="max-width: 100%; height: auto;" align="left"><p style="margin: 0;"><font face="arial,helvetica,sans-serif" size="2" style="color: #9d9d9d;">Phone: 011 653 5387</font></p></td></tr><tr></tr><tr><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;" align="left"><p style="margin: 0;"> <b style="font-size: small;"><font face="arial,helvetica,sans-serif"><a href="http://www.cellfind.co.za"><font style="color: #2c3038; text-decoration: none;">www.cellfind.co.za</font></a></font></b></p></td></tr><tr><td style="max-width: 100%; height: auto;"> </td></tr><tr><td style="max-width: 100%; height: auto;"> </td></tr></tbody></table></td></tr></tbody></table><table id="rs-bottom-banner" width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;"><!-- RS-STRIP-BEGIN image-72819-14684@za02.rocketseed.com--><a href="http://za02.rocketseed.com/rs/d8R5ZsuB"><img style="max-width: 100%; height: auto;" beacon_priority="0" usemap="#imgmap201677113335" class="rocketseed-strip" src="cid:image-72819-14684@za02.rocketseed.com" border="0"><map id="imgmap201677113335" name="imgmap201677113335"> 
<area shape="rect" alt="Find Out More" coords="488,139,632,165" href="http://za02.rocketseed.com/rs/d8l2IvZn" target=""></map></a><!-- RS-STRIP-END image-72819-14684@za02.rocketseed.com--></td><td style="max-width: 100%; height: auto;"> </td><td style="max-width: 100%; height: auto;"> </td></tr></tbody></table><table id="rs-disclaimer" width="100%" border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;"><br><table width="650" border="0" cellpadding="0" cellspacing="0">
        <tbody><tr><td style="max-width: 100%; height: auto;"><p><font style="color: #888888;" size="1" face="arial,helvetica,sans-serif">For Disclaimer and Confidentiality note: <a href="http://www.cellfind.co.za/legal-notice.php"><font style="color: #888888;"><font style="color: #888888; text-decoration: none;">Click Here</font></font></a></font></p></td></tr></tbody></table></td></tr></tbody></table><br /><br /><p style="font-family: Verdana; font-size:10pt; color:#666666;"><b>Disclaimer</b></p><p style="font-family: Verdana; font-size:8pt; color:#666666;">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.<br /><br />This email has been scanned for viruses and malware, and may have been automatically archived by <b>Mimecast Ltd</b>, an innovator in Software as a Service (SaaS) for business.  Providing a <b>safer</b> and <b>more useful</b> place for your human generated data.  Specializing in; Security, archiving and compliance. To find out more <a href="http://www.mimecast.com/products/" target="_blank">Click Here</a>.</p></body></html>