error_logger:warning_report(non_std_warning, Report) with +W w #4

Merged
1 commit merged into from Dec 2, 2010

Conversation

Projects
None yet
2 participants
Contributor

elbrujohalcon commented Dec 2, 2010

If you opened your Erlang console using...

$ erl +W w

and then you tried...

> error_logger:warning_report(non_std_warning, [a_report]).

riak_err reported...

=ODD REPORT==== 2-Dec-2010::12:26:45 ===
odd {warning_report,<0.8.0>,
                {<0.2462.0>,non_std_warning,[a_report]}}

As it is already ignoring non std errors and infos, I think it should ignore the warnings as well.

Contributor

slfritchie commented Dec 2, 2010

Fernando, thanks for the patch.

-Scott

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment