aboutsummaryrefslogtreecommitdiff
path: root/test/logging/TestLogging.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/logging/TestLogging.py')
-rw-r--r--test/logging/TestLogging.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/logging/TestLogging.py b/test/logging/TestLogging.py
index 12b3b84a9..368708f33 100644
--- a/test/logging/TestLogging.py
+++ b/test/logging/TestLogging.py
@@ -34,7 +34,10 @@ class LogTestCase(TestBase):
if (os.path.exists (log_file)):
os.remove (log_file)
- self.runCmd ("log enable -f '%s' lldb commands" % (log_file))
+ # By default, Debugger::EnableLog() will set log options to
+ # PREPEND_THREAD_NAME + OPTION_THREADSAFE. We don't want the
+ # threadnames here, so we enable just threadsafe (-t).
+ self.runCmd ("log enable -t -f '%s' lldb commands" % (log_file))
self.runCmd ("command alias bp breakpoint")