[erlang-questions] Time to change the default for +W?

Richard Carlsson <>
Thu Apr 16 13:43:13 CEST 2015


Isn't it about time that we got three levels of error_logger messages by
default? Quoting the erl documentation:
*+W w | i*

Sets the mapping of warning messages for error_logger. Messages sent to the
error logger using one of the warning routines can be mapped either to
errors (default), warnings (+W w), or info reports (+W i). The current
mapping can be retrieved using error_logger:warning_map/0. See
error_logger(3)
<http://www.erlang.org/doc/man/error_logger.html#warning_map-0> for further
information.

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.
        /Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150416/338dacf6/attachment.html>


More information about the erlang-questions mailing list