<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 3, 2018 at 3:07 PM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Not sure about new logging:</div><div class="gmail_extra"><br></div><div class="gmail_extra">




<span></span>





<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">$ erl</span></p>
<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">Erlang/OTP 21 [RELEASE CANDIDATE 1] [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]</span></p>
<p class="m_-6010142396713279447gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:15px"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">Eshell V10.0<span class="m_-6010142396713279447gmail-Apple-converted-space">  </span>(abort with ^G)</span></p>
<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">1> whereis(error_logger).</span></p>
<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">undefined</span></p>
<p class="m_-6010142396713279447gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_-6010142396713279447gmail-s1" style="font-variant-ligatures:no-common-ligatures">2><span class="m_-6010142396713279447gmail-Apple-converted-space"> </span></span></p>


<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">From <a href="http://erlang.org/documentation/doc-10.0-rc1/lib/kernel-6.0/doc/html/error_logger.html" target="_blank">http://erlang.org/<wbr>documentation/doc-10.0-rc1/<wbr>lib/kernel-6.0/doc/html/error_<wbr>logger.html</a>  I do not see that error_logger is no more with us.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Is it a existing process or it is completely abandoned?</div></div></blockquote><div> </div><div>The error_logger event handler is started lazily when the first error_logger:add_report_handler call is done. So the new logging framework does not use the error_logger process, but it is started if legacy code uses it. All calls to error_logger:*_report/msg are redirected to logger which then decides what to do with them.</div><div><br></div><div>Lukas</div></div></div></div>