logging: move to an internal rolling log buffer
disables logging to the logfile by default
This commit is contained in:
parent
e8469f8b1b
commit
e195e51c1b
7 changed files with 47 additions and 23 deletions
|
|
@ -119,7 +119,7 @@ void CrashReporter::createAndSaveCrash(int sig) {
|
|||
|
||||
finalCrashReport += "\n\nLog tail:\n";
|
||||
|
||||
finalCrashReport += execAndGet(("cat \"" + Debug::logFile + "\" | tail -n 50").c_str());
|
||||
finalCrashReport += Debug::rollingLog;
|
||||
|
||||
const auto HOME = getenv("HOME");
|
||||
const auto CACHE_HOME = getenv("XDG_CACHE_HOME");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue