[Pysys-commits] SF.net SVN: pysys:[811] trunk/pysys
Brought to you by:
ben-spiller,
moraygrieve
|
From: <ben...@us...> - 2018-03-15 10:40:46
|
Revision: 811
http://sourceforge.net/p/pysys/code/811
Author: ben-spiller
Date: 2018-03-15 10:40:44 +0000 (Thu, 15 Mar 2018)
Log Message:
-----------
fix nasty bug in stdout handler when running from multiple threads - the log level, timestamps and (more seriously) all exception tracebacks were being lost as a result of using logrecord.getMessage() (you had to look in run.log to see the missing info, which was far from obvious). We now format the messages at the point they are generated and then at the end of each test's execution write the formatted messages to stdout (rather than "logging" them); this required having a separate handler for stdout and for run.log and ThreadedFileHandler no longer performs stashing of the strings for std (it just focuses on file/run.log output, which is probably a better/simpler architecture); also avoid silently ignoring exceptions from sys.stdout.write since it shouldn't be necessary and could be very confusing
Modified Paths:
--------------
trunk/pysys/__init__.py
trunk/pysys/baserunner.py
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|