<div><div dir="auto">Still seeing some supervisor crash report:</div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:UICTFontTextStyleBody;font-size:17px">(<a href="mailto:fah@127.0.0.1" dir="ltr">fah@127.0.0.1</a>)1> =SUPERVISOR REPORT==== 12-Sep-2018::05:58:53.171292 ===</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">   supervisor: {local,fah_sup}</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">   errorContext: child_terminated</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">   reason: {{badmatch,{<<"945a9769-070b-4635-b0f5-84c2105228f">>,76,45}},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">            [{fah,checkid,1,[{file,"src/fah.erl"},{line,210}]},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">             [...]    </span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">             {proc_lib,init_p_do_apply,3,</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">                       [{file,"proc_lib.erl"},{line,249}]}]}</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">   offender: [{pid,<0.141.0>},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">              {id,fah},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">              {mfargs,{fah,start_link,[2,#Port<0.9>]}},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">              {restart_type,transient},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">              {shutdown,5000},</span><br style="font-family:UICTFontTextStyleBody;font-size:17px"><span style="font-family:UICTFontTextStyleBody;font-size:17px">              {child_type,worker}]</span><br></div><div dir="auto"><br></div><div><div dir="auto">I even tried to combine your and Siri’s filter, but no luck.</div><div class="gmail_quote"><div dir="ltr"><br></div><div dir="ltr">/Frank</div><div dir="ltr"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Can you please explain us the PID idea inside the metadata as I’m not familiar with the new logger module?<div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">/Frank</div></blockquote></div><div><br></div><div>Maybe this:</div><div><br></div><div>logger:add_primary_filter(my_filter_id,{fun(#{meta:=#{label:={proc_lib,crash}}}) -> stop; (_,_) -> ignore end,ok}).</div><div><br></div><div>?</div><div><br></div><div>---</div><div>Led<br></div></div></div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div></div>