aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_log_redirect.erl
AgeCommit message (Collapse)Author
2013-08-27Fix error in builtin hook calling non-existing functionPeter Andersson
OTP-11238
2013-04-16[common_test] Use max importance when logging errorsSiri Hansen
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.
2012-10-30[common_test] Extend timer for flushing error loggerSiri Hansen
OTP-10040 If a busy test case generated lots of error messages, cth_log_redirect:post_end_per_testcase would crash with a timeout while waiting for the error logger to finish handling all error messages. The default timer is 5 seconds. This has now been extended to 5 minutes.
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9941-9955' into maintPeter Andersson
* origin/peppe/common_test/otp-9941-9955: Fix problem with handling error_logger events OTP-9941 OTP-9955
2012-03-02Fix problem with handling error_logger eventsPeter Andersson
OTP-9941 OTP-9955
2012-02-21Implement asynchronous call to print to test case log filePeter Andersson
In order to avoid possible deadlock when the cth_log_redirect hook prints via ct_logs to the test case log file, the print call must be made by a separate (temporary) process, instead of ct_logs.
2011-09-20Correct wrong match from lists:keyfindLukas Larsson
2011-09-20Update cth_log_redirect to wait for all error_logger events before ending testLukas Larsson
2011-09-20Force logging to framework log for parallel testsLukas Larsson
When parallel tests are run all logs are redirected to use ct_logs:ct_log instead of ct_logs:tc_log.
2011-09-20Add a hook for redirecting SASL and error_logger messagesLukas Larsson
SASL and error_logger messaged can now be redirected to the common_test log using a hook which is bundled with common_test.