Add logging to test_framework.py
commit0e6d23dd53488700e42ca08eafddcea0b6616564
authorJohn Newbery <john@johnnewbery.com>
Wed, 15 Feb 2017 16:36:46 +0000 (15 11:36 -0500)
committerJohn Newbery <john@johnnewbery.com>
Thu, 9 Mar 2017 14:26:48 +0000 (9 09:26 -0500)
tree7995b13fdbfb1bb1e0d10a8f6c7d613e91c4f56a
parent5703dff0939f05c7457cebd6fc61d88ab13afe41
Add logging to test_framework.py

This commit adds python logging to test_framework.py. By default this
will output all log levels (DEBUG-INFO-WARNING-ERROR-CRITICAL) to a
test_framework.log file in the temporary test directory, and higher
level logs (WARNING-ERROR-CRITICAL) to the console. The level of logging
to the console can be controlled by a new log-level parameter.

This should have no interaction with the existing trace-rpc parameter.
qa/rpc-tests/test_framework/test_framework.py