aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-05-20 15:35:49 +0200
committerZandra Hird <[email protected]>2015-05-20 15:37:48 +0200
commit4034b89a07a97766dba5e6213b1eb4d76ba6df9e (patch)
treed951696f1739d76925ceb0953f06c0ad1a8050eb /erts/emulator/beam/erl_init.c
parentc714241a99cf608f290a7d8dcd9c22aae693dc97 (diff)
downloadotp-4034b89a07a97766dba5e6213b1eb4d76ba6df9e.tar.gz
otp-4034b89a07a97766dba5e6213b1eb4d76ba6df9e.tar.bz2
otp-4034b89a07a97766dba5e6213b1eb4d76ba6df9e.zip
Revert "Map error logger warnings to warning messages by default"
This reverts commit 4c4d7fa40e5fb59854724ce74b8aa3546525cb90. This pr is causing some test failures that were missed at first.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index 33417833a9..988ff0e2b5 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -625,7 +625,7 @@ void erts_usage(void)
erts_fprintf(stderr, "-v turn on chatty mode (GCs will be reported etc)\n");
- erts_fprintf(stderr, "-W<i|w|e> set error logger warnings mapping,\n");
+ erts_fprintf(stderr, "-W<i|w> set error logger warnings mapping,\n");
erts_fprintf(stderr, " see error_logger documentation for details\n");
erts_fprintf(stderr, "-zdbbl size set the distribution buffer busy limit in kilobytes\n");
erts_fprintf(stderr, " valid range is [1-%d]\n", INT_MAX/1024);
@@ -1253,7 +1253,7 @@ erl_start(int argc, char **argv)
verbose = DEBUG_DEFAULT;
#endif
- erts_error_logger_warnings = am_warning;
+ erts_error_logger_warnings = am_error;
while (i < argc) {
if (argv[i][0] != '-') {
@@ -1991,12 +1991,11 @@ erl_start(int argc, char **argv)
case 'i':
erts_error_logger_warnings = am_info;
break;
- case 'e':
- erts_error_logger_warnings = am_error;
- break;
case 'w':
erts_error_logger_warnings = am_warning;
break;
+ case 'e': /* The default */
+ erts_error_logger_warnings = am_error;
default:
erts_fprintf(stderr, "unrecognized warning_map option %s\n", arg);
erts_usage();