diff options
Diffstat (limited to 'lib/Plugins/Logger.cpp')
-rw-r--r-- | lib/Plugins/Logger.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Plugins/Logger.cpp b/lib/Plugins/Logger.cpp index 37dfa47..32f45a3 100644 --- a/lib/Plugins/Logger.cpp +++ b/lib/Plugins/Logger.cpp @@ -23,7 +23,7 @@ #include <fstream> CLogger::CLogger() : - m_sLogPath("/tmp/CCLogger"), + m_sLogPath("/var/log/abrt-logger"), m_bAppendLogs(true) {} @@ -90,6 +90,12 @@ void CLogger::Report(const crash_report_t& pReport) fOut << "-----------" << std::endl; fOut << pReport.m_sTextData2 << std::endl << std::endl; } + if (pReport.m_sComment != "") + { + fOut << "User Comments" << std::endl; + fOut << "-----------" << std::endl; + fOut << pReport.m_sComment << std::endl << std::endl; + } fOut << "Binary reports" << std::endl; fOut << "==============" << std::endl; if (pReport.m_sBinaryData1 != "") |