Fix settign log level via command line
@@ -65,8 +65,11 @@ FogLampProcess::FogLampProcess(int argc, char** argv) :
try
{
string minLogLevel = getArgValue("--loglevel=");
+ if (!minLogLevel.empty())
+ {
m_logger->setMinLevel(minLogLevel);
}
+ }
catch (exception e)
{
throw runtime_error(string("Error while parsing optional options: ") + e.what());
