Only take the test_string as the context of the log file