Index: tools/lldb-server/lldb-platform.cpp =================================================================== --- tools/lldb-server/lldb-platform.cpp +++ tools/lldb-server/lldb-platform.cpp @@ -328,6 +328,10 @@ // Parent will continue to listen for new connections. continue; } else { + // We lose the logging on the child side of the fork, re-enable it. + if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, 0)) + return -1; + // Child process will handle the connection and exit. g_server = 0; // Listening socket is owned by parent process.