Disable logging to string in unittest.
am: 26d8977280

Change-Id: I1e712f2aef9c31961066471348da15112fd6e45e
diff --git a/testrunner.cc b/testrunner.cc
index 635e120..81d4548 100644
--- a/testrunner.cc
+++ b/testrunner.cc
@@ -44,6 +44,8 @@
   base::CommandLine::Init(argc, argv);
   LOG(INFO) << "initializing gtest";
   SetUpTests(&argc, argv, true);
+  // Logging to string is not thread safe.
+  brillo::LogToString(false);
   LOG(INFO) << "running unit tests";
   int test_result = RUN_ALL_TESTS();
   LOG(INFO) << "unittest return value: " << test_result;