Fix troubleshooht command truncating crash logs

fixes #9064
This commit is contained in:
Jean-Marcel Flach 2015-04-16 16:17:12 +02:00 committed by Gunnar Beutner
parent fa16f3ae76
commit c14f660476
1 changed files with 2 additions and 2 deletions

View File

@ -410,8 +410,8 @@ bool TroubleshootCommand::PrintCrashReports(InfoLog& log)
else {
InfoLogLine(log)
<< "Latest crash report is from " << Utility::FormatDateTime("%Y-%m-%d %H:%M:%S", Utility::GetTime()) << '\n'
<< "File: " << bestFilename << '\n';
Tail(bestFilename, 20, log);
<< "File: " << bestFilename << "\n\n";
PrintConf(log, bestFilename);
InfoLogLine(log)
<< '\n';
}