Ported MarkL's fix for SL-38277 to release from message-liberation-5. svn merge -r59784:59785 svn+ssh://svn.lindenlab.com/svn/linden/branches/message-liberation-5 into svn+ssh://svn.lindenlab.com/svn/linden/release.

master
Karen Clark 2007-03-27 20:41:40 +00:00
parent 64395d2159
commit 204081b8e2
1 changed files with 5 additions and 1 deletions

View File

@ -495,7 +495,11 @@ namespace LLError
{
void initForServer(const std::string& identity)
{
std::string dir = LLApp::instance()->getOption("configdir");
std::string dir = "/opt/linden/etc";
if (LLApp::instance())
{
dir = LLApp::instance()->getOption("configdir").asString();
}
commonInit(dir);
#if !LL_WINDOWS
addRecorder(new RecordToSyslog(identity));