diff --git a/src/Elastic.Elasticsearch.Managed/ConsoleWriters/LineOutParser.cs b/src/Elastic.Elasticsearch.Managed/ConsoleWriters/LineOutParser.cs index 47cb7fb..f47c9a0 100644 --- a/src/Elastic.Elasticsearch.Managed/ConsoleWriters/LineOutParser.cs +++ b/src/Elastic.Elasticsearch.Managed/ConsoleWriters/LineOutParser.cs @@ -64,7 +64,7 @@ public static bool TryParse(string line, private static bool TryGetStartedConfirmation(string section, string message) { var inNodeSection = section == "o.e.n.Node" || section == "node"; - return inNodeSection && message == "started"; + return inNodeSection && (message == "started" || message.StartsWith("started {", StringComparison.Ordinal)); } public static bool TryGetPortNumber(string section, string message, out int port)