<div dir="ltr"><div>Since nobody seemed to have an opinion about this, I went ahead and created a pull request: <a href="https://github.com/erlang/otp/pull/685">https://github.com/erlang/otp/pull/685</a><br><br></div>It turned out that there was already some code implementing the +We option, but it was broken, and the option was never documented.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><br> /Richard</div></div>
<br><div class="gmail_quote">On Thu, Apr 16, 2015 at 1:43 PM, Richard Carlsson <span dir="ltr"><<a href="mailto:carlsson.richard@gmail.com" target="_blank">carlsson.richard@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">Isn't it about time that we got three levels of error_logger messages by default? Quoting the erl documentation:<br><div><div><dl><dt><strong><span></span></strong></dt><dt><strong><span>+W w | i</span></strong></dt><dd>
<p>Sets the mapping of warning messages for <span>error_logger</span>.
Messages sent to the error logger using one of the warning
routines can be mapped either to errors (default), warnings
(<span>+W w</span>), or info reports (<span>+W i</span>). The current
mapping can be retrieved using
<span>error_logger:warning_map/0</span>. See
<span><a href="http://www.erlang.org/doc/man/error_logger.html#warning_map-0" target="_blank">error_logger(3)</a></span>
for further information.</p></dd></dl><p>I feel that in this day and age, this ought to be changed so that +W w is the default, and a new flag "+W e" should be added for those who still want the old behaviour.<span class="HOEnZb"><font color="#888888"><br></font></span></p><span class="HOEnZb"><font color="#888888"><div><div> /Richard<br><br></div></div>
</font></span></div></div></div>
</blockquote></div><br></div>