Skip to content

Commit 2283072

Browse files
authored
Respond to started log message change (#41)
1 parent e23f16e commit 2283072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elastic.Elasticsearch.Managed/ConsoleWriters/LineOutParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static bool TryParse(string line,
6464
private static bool TryGetStartedConfirmation(string section, string message)
6565
{
6666
var inNodeSection = section == "o.e.n.Node" || section == "node";
67-
return inNodeSection && message == "started";
67+
return inNodeSection && (message == "started" || message.StartsWith("started {", StringComparison.Ordinal));
6868
}
6969

7070
public static bool TryGetPortNumber(string section, string message, out int port)

0 commit comments

Comments
 (0)