Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Impala::CmdOptions::ConfigureLogSystem (  )  [inline, private]

Definition at line 469 of file CmdOptions.h.

References Impala::LogSystem::Configure(), GetBool(), Impala::LogSystem::GetInstance(), GetInt(), GetString(), Impala::LogSystem::LogSystemConfig::mDebug, Impala::LogSystem::LogSystemConfig::mDebugCat, Impala::LogSystem::LogSystemConfig::mExitOnError, Impala::LogSystem::LogSystemConfig::mJobErrorLog, Impala::LogSystem::LogSystemConfig::mLogFile, Impala::LogSystem::LogSystemConfig::mLogFlushOutput, Impala::LogSystem::LogSystemConfig::mLogLayout, Impala::LogSystem::LogSystemConfig::mLogLevel, Impala::LogSystem::LogSystemConfig::mLogProperties, Impala::LogSystem::LogSystemConfig::mNoErrorLog, and Impala::StringReplaceAll().

Referenced by ParseArgs().

00470     {
00471         LogSystem::LogSystemConfig logConfig;
00472         logConfig.mLogProperties = GetString("logProperties");
00473         logConfig.mLogLayout = GetString("logLayout");
00474         logConfig.mLogFile = GetString("logFile");
00475         logConfig.mLogFlushOutput = GetBool("logFlushOutput");
00476         logConfig.mLogLevel = GetInt("logLevel");
00477         logConfig.mDebug = GetBool("debug");
00478         logConfig.mDebugCat = StringReplaceAll(GetString("debugCat"), ":", ";", false);
00479         logConfig.mNoErrorLog = GetBool("noErrorLog");
00480         logConfig.mJobErrorLog = GetString("jobErrorLog");
00481         logConfig.mExitOnError = GetBool("exitOnErrorLogged");
00482         LogSystem::GetInstance().Configure(logConfig);
00483     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:35:40 2010 for ImpalaSrc by  doxygen 1.5.1