Added log function to test_harness.