8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995648f commit d7308cbCopy full SHA for d7308cb
contrib/mmts/Cluster.pm
@@ -208,6 +208,18 @@ sub stop
208
my $nodes = $self->{nodes};
209
$mode = 'fast' unless defined $mode;
210
211
+ diag("Dumping logs:");
212
+ foreach my $node (@$nodes) {
213
+ diag("##################################################################");
214
+ diag($node->{_logfile});
215
216
+ my $filename = $node->{_logfile};
217
+ open my $fh, '<', $filename or die "error opening $filename: $!";
218
+ my $data = do { local $/; <$fh> };
219
+ diag($data);
220
+ diag("##################################################################\n\n");
221
+ }
222
+
223
my $ok = 1;
224
diag("stopping cluster ${mode}ly");
225
0 commit comments