<div dir="ltr">Hi Roger!<div class="gmail_extra"><br></div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">git branch</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)"><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">* </span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(HEAD detached at OTP-21.0.2)</span></p><p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p>




<span></span>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">git blame -L 2742,2749 ssl_connection.erl<span class="gmail-Apple-converted-space"> </span></span></p>


<div class="gmail_extra"><br></div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2742) log_alert(true, Role, ProtocolName, StateName, #alert{role = Role} = Alert) -></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2743) <span class="gmail-Apple-converted-space">    </span>Txt = ssl_alert:own_alert_txt(Alert),</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2744) <span class="gmail-Apple-converted-space">    </span>error_logger:info_report(io_lib:format("~s ~p: In state ~p ~s\n", [ProtocolName, Role, StateName, Txt]));</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2745) log_alert(true, Role, ProtocolName, StateName, Alert) -></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">6c8a0271f75 (Ingela Anderton Andin 2016-08-12 12:17:47 +0200 2746) <span class="gmail-Apple-converted-space">    </span>Txt = ssl_alert:alert_txt(Alert),</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2747) <span class="gmail-Apple-converted-space">    </span>error_logger:info_report(io_lib:format("~s ~p: In state ~p ~s\n", [ProtocolName, Role, StateName, Txt]));</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">fbbf7a98975 (Ingela Anderton Andin 2017-08-31 18:31:06 +0200 2748) log_alert(false, _, _, _, _) -></span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">6c8a0271f75 (Ingela Anderton Andin 2016-08-12 12:17:47 +0200 2749) <span class="gmail-Apple-converted-space">    </span>ok.</span></p>


<div class="gmail_extra"><br></div><div class="gmail_extra">So this was not changed in the ssl application for OTP-21.  </div><div class="gmail_extra"><br></div><div class="gmail_extra">In the master branch, we have started to use logger and the plan is that log_alert true will be same as setting log level notice that is the default log level. We have also added a debug level and possibility to set the level.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe there is something unforeseen in logger or logger/lager interaction?</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards Ingela Erlang/OTP team- Ericsson AB </div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-11 16:33 GMT+02:00 Roger Lipscombe <span dir="ltr"><<a href="mailto:roger@differentpla.net" target="_blank">roger@differentpla.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The report changed from 'error_logger:info_report' in OTP-20.x to<br>
'error_logger:error_report' in OTP-21.x (and then to ?LOG_ERROR in<br>
master).<br>
<br>
This now results in a lot of noise in our error reporting, because we<br>
get "SSL: Socket error: etimedout #012" about 10 times a minute.<br>
<br>
Any chance this change could be reverted, please?<br>
<br>
Related: <a href="http://erlang.org/pipermail/erlang-questions/2016-December/091046.html" rel="noreferrer" target="_blank">http://erlang.org/pipermail/<wbr>erlang-questions/2016-<wbr>December/091046.html</a><br>
<br>
Thanks,<br>
Roger.<br>
______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</blockquote></div><br></div></div>