EDIT2: reimplemented on top of #10123 now that #9424 is merged. This PR is now ready for review. Only the second commit is to be reviewed. The first commit is #10123
~EDIT: reduced scope of this PR. I'm closing #10123 until #9424 is merged, but that shouldn't block reducing the test_framework log spam~
This commit reduces spammy logging by the test framework and the bitcoind instances in a test run:
- truncate logging send/receive message in mininode to 200 characters. mininode was previously logging the entire message sent received, which can be up to 1MB for a full block.
- exclude logging for leveldb and libevent in the bitcoind instances
requires #10123