diff --git a/Sources/sourcekit-lsp/SourceKitLSP.swift b/Sources/sourcekit-lsp/SourceKitLSP.swift index ec7d4ca34..15c0b1430 100644 --- a/Sources/sourcekit-lsp/SourceKitLSP.swift +++ b/Sources/sourcekit-lsp/SourceKitLSP.swift @@ -237,6 +237,8 @@ struct SourceKitLSP: AsyncParsableCommand { fatalError("failed to redirect stdout -> stderr: \(strerror(errno)!)") } + logger.log("sourcekit-lsp launched from \(ProcessInfo.processInfo.arguments.first ?? "")") + let globalConfigurationOptions = globalConfigurationOptions if let logLevelStr = globalConfigurationOptions.loggingOrDefault.level, let logLevel = NonDarwinLogLevel(logLevelStr)