Skip to content
Snippets Groups Projects
Commit 1149c94c authored by Aura Linden's avatar Aura Linden
Browse files

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

parent acc53a1c
No related branches found
No related tags found
No related merge requests found
...@@ -384,7 +384,7 @@ bool LLCrashLogger::init() ...@@ -384,7 +384,7 @@ bool LLCrashLogger::init()
LLCurl::initClass(false); LLCurl::initClass(false);
// We assume that all the logs we're looking for reside on the current drive // 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, "")); LLError::initForApplication(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, ""));
......
...@@ -431,6 +431,7 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd ...@@ -431,6 +431,7 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd
llassert(0); llassert(0);
} }
llinfos << "SPATTERS got " << prefix << " for location " << location << llendl;
std::string filename = in_filename; std::string filename = in_filename;
if (!subdir2.empty()) if (!subdir2.empty())
{ {
...@@ -471,7 +472,7 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd ...@@ -471,7 +472,7 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd
expanded_filename.assign(""); expanded_filename.assign("");
} }
//llinfos << "*** EXPANDED FILENAME: <" << expanded_filename << ">" << llendl; llinfos << "*** EXPANDED FILENAME: <" << expanded_filename << ">" << llendl;
return expanded_filename; return expanded_filename;
} }
......
...@@ -34,12 +34,6 @@ ...@@ -34,12 +34,6 @@
int main(int argc, char **argv) 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; LLCrashLoggerMac app;
app.parseCommandOptions(argc, argv); app.parseCommandOptions(argc, argv);
...@@ -57,7 +51,5 @@ int main(int argc, char **argv) ...@@ -57,7 +51,5 @@ int main(int argc, char **argv)
app.cleanup(); app.cleanup();
llinfos << "Crash reporter finished normally." << llendl; llinfos << "Crash reporter finished normally." << llendl;
outputFile.close();
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment