From 9c45ab7d661459e19a590573f410bbf7e15f45bb Mon Sep 17 00:00:00 2001 From: Jean-Marcel Flach Date: Thu, 16 Apr 2015 16:17:12 +0200 Subject: [PATCH] Fix troubleshooht command truncating crash logs fixes #9064 --- lib/cli/troubleshootcommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cli/troubleshootcommand.cpp b/lib/cli/troubleshootcommand.cpp index ff3a6f7b3..8b4d91eec 100644 --- a/lib/cli/troubleshootcommand.cpp +++ b/lib/cli/troubleshootcommand.cpp @@ -409,8 +409,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'; }