diff options
author | Siri Hansen <[email protected]> | 2013-04-16 14:51:17 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-04-16 14:51:17 +0200 |
commit | a0f5a03771e50e1f4a0722373e8823fc72aa5991 (patch) | |
tree | 4fcc987fb710af9911e47e51f61a26acaf84a968 /lib/common_test/src/ct_util.erl | |
parent | 74fdfd48d59393b6f0dfb53f343645133675c64b (diff) | |
download | otp-a0f5a03771e50e1f4a0722373e8823fc72aa5991.tar.gz otp-a0f5a03771e50e1f4a0722373e8823fc72aa5991.tar.bz2 otp-a0f5a03771e50e1f4a0722373e8823fc72aa5991.zip |
[common_test] Use max importance when logging errors
This commit adds ?MAX_IMPORTANCE to error notifications in the test
case log, and it makes sure that the printout says "CT Error
Notification".
Printouts from cth_log_redirect (sasl and error_reports) uses
?STD_IMPORTANCE and states "System" in the printout.
Diffstat (limited to 'lib/common_test/src/ct_util.erl')
-rw-r--r-- | lib/common_test/src/ct_util.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_util.erl b/lib/common_test/src/ct_util.erl index 02e58d0786..6a8b37bf3b 100644 --- a/lib/common_test/src/ct_util.erl +++ b/lib/common_test/src/ct_util.erl @@ -414,6 +414,8 @@ loop(Mode,TestData,StartDir) -> [#conn{address=A,callback=CB}] -> %% A connection crashed - remove the connection but don't die ct_logs:tc_log_async(ct_error_notify, + ?MAX_IMPORTANCE, + "CT Error Notification", "Connection process died: " "Pid: ~w, Address: ~p, Callback: ~w\n" "Reason: ~p\n\n", |