Breakpad: don't fork logger process on startup. Use singularity-debug as the dir for dumps

This commit is contained in:
Latif Khalifa
2013-10-01 21:47:12 +02:00
parent c87f7b0576
commit 81fa147450
2 changed files with 5 additions and 0 deletions

View File

@@ -283,12 +283,15 @@ const std::string &LLDir::getDumpDir() const
{
if (sDumpDir.empty() )
{
/* Singu Note: don't generate a different dump dir each time
LLUUID uid;
uid.generate();
sDumpDir = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "")
+ "dump-" + uid.asString();
*/
sDumpDir = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "") + "singularity-debug";
dir_exists_or_crash(sDumpDir);
}