[Lldb-commits] [lldb] r260078 - Have lldb-server log the timestamp in its log messages

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 8 01:35:53 PST 2016


Author: labath
Date: Mon Feb  8 03:35:53 2016
New Revision: 260078

URL: http://llvm.org/viewvc/llvm-project?rev=260078&view=rev
Log:
Have lldb-server log the timestamp in its log messages

Modified:
    lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp

Modified: lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp?rev=260078&r1=260077&r2=260078&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp (original)
+++ lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp Mon Feb  8 03:35:53 2016
@@ -531,7 +531,7 @@ main_gdbserver (int argc, char *argv[])
         exit(option_error);
     }
 
-    if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, 0))
+    if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, LLDB_LOG_OPTION_PREPEND_TIMESTAMP))
         return -1;
 
     Log *log(lldb_private::GetLogIfAnyCategoriesSet (GDBR_LOG_VERBOSE));




More information about the lldb-commits mailing list