aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcrashlogger
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcrashlogger')
-rwxr-xr-xlinden/indra/llcrashlogger/llcrashlogger.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/llcrashlogger/llcrashlogger.cpp b/linden/indra/llcrashlogger/llcrashlogger.cpp
index 095cf8a..13f804a 100755
--- a/linden/indra/llcrashlogger/llcrashlogger.cpp
+++ b/linden/indra/llcrashlogger/llcrashlogger.cpp
@@ -202,7 +202,7 @@ void LLCrashLogger::gatherFiles()
202 { 202 {
203 // Figure out the filename of the second life log 203 // Figure out the filename of the second life log
204 LLCurl::setCAFile(gDirUtilp->getCAFile()); 204 LLCurl::setCAFile(gDirUtilp->getCAFile());
205 mFileMap["SecondLifeLog"] = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"SecondLife.log"); 205 mFileMap["SecondLifeLog"] = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"Imprudence.log");
206 mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml"); 206 mFileMap["SettingsXml"] = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS,"settings.xml");
207 } 207 }
208 208
@@ -331,7 +331,7 @@ bool LLCrashLogger::sendCrashLogs()
331 updateApplication("Sending reports..."); 331 updateApplication("Sending reports...");
332 332
333 std::string dump_path = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, 333 std::string dump_path = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,
334 "SecondLifeCrashReport"); 334 "ImprudenceCrashReport");
335 std::string report_file = dump_path + ".log"; 335 std::string report_file = dump_path + ".log";
336 336
337 std::ofstream out_file(report_file.c_str()); 337 std::ofstream out_file(report_file.c_str());
@@ -365,10 +365,10 @@ void LLCrashLogger::updateApplication(const std::string& message)
365bool LLCrashLogger::init() 365bool LLCrashLogger::init()
366{ 366{
367 // We assume that all the logs we're looking for reside on the current drive 367 // We assume that all the logs we're looking for reside on the current drive
368 gDirUtilp->initAppDirs("SecondLife"); 368 gDirUtilp->initAppDirs("Imprudence");
369 369
370 // Default to the product name "Second Life" (this is overridden by the -name argument) 370 // Default to the product name "Imprudence" (this is overridden by the -name argument)
371 mProductName = "Second Life"; 371 mProductName = "Imprudence";
372 372
373 mCrashSettings.declareS32(CRASH_BEHAVIOR_SETTING, CRASH_BEHAVIOR_ASK, "Controls behavior when viewer crashes " 373 mCrashSettings.declareS32(CRASH_BEHAVIOR_SETTING, CRASH_BEHAVIOR_ASK, "Controls behavior when viewer crashes "
374 "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)"); 374 "(0 = ask before sending crash report, 1 = always send crash report, 2 = never send crash report)");
@@ -390,7 +390,7 @@ bool LLCrashLogger::init()
390 //If we've opened the crash logger, assume we can delete the marker file if it exists 390 //If we've opened the crash logger, assume we can delete the marker file if it exists
391 if( gDirUtilp ) 391 if( gDirUtilp )
392 { 392 {
393 std::string marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"SecondLife.exec_marker"); 393 std::string marker_file = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,"Imprudence.exec_marker");
394 ll_apr_file_remove( marker_file ); 394 ll_apr_file_remove( marker_file );
395 } 395 }
396 396