Disable logging to string in unittest. am: 26d8977280
am: 2ca39d03a9

Change-Id: Iea4f6488835ce9ad0d639c1ed587b336761cbf38
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;