obscurestar avatar obscurestar committed fafedc0

Crashlogger only runs when it comes from teamcity so I must checkin debug and wait. What fun.

Comments (0)

Files changed (3)

indra/llcrashlogger/llcrashlogger.cpp

 	LLCurl::initClass(false);
 
 	// We assume that all the logs we're looking for reside on the current drive
-	gDirUtilp->initAppDirs("SecondLife");
+	gDirUtilp->initAppDirs("com.secondlife.indra.viewer");
 
 	LLError::initForApplication(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, ""));
 

indra/llvfs/lldir.cpp

 		llassert(0);
 	}
 
+    llinfos << "SPATTERS got " << prefix << " for location " << location << llendl;
 	std::string filename = in_filename;
 	if (!subdir2.empty())
 	{
 		expanded_filename.assign("");
 	}
 
-	//llinfos << "*** EXPANDED FILENAME: <" << expanded_filename << ">" << llendl;
+	llinfos << "*** EXPANDED FILENAME: <" << expanded_filename << ">" << llendl;
 	return expanded_filename;
 }
 

indra/mac_crash_logger/mac_crash_logger.cpp

     
 int main(int argc, char **argv)
 {
-    std::ofstream outputFile;
-    outputFile.open("/tmp/aura.txt");
-    outputFile << "TEstiNG" << std::endl;
-    llinfos << "SPATTERS ASDFSDFSDF" << llendl;
-	llinfos << "Starting crash reporter." << llendl;
-
 	LLCrashLoggerMac app;
 	app.parseCommandOptions(argc, argv);
 
 	app.cleanup();
 	llinfos << "Crash reporter finished normally." << llendl;
     
-    outputFile.close();
-    
 	return 0;
 }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.