Skip to content

Commit

Permalink
fix_logging_config
Browse files Browse the repository at this point in the history
  • Loading branch information
avp-avp committed Feb 26, 2017
1 parent f64a8a4 commit 80dd76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libutils/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void CLog::Init(CConfigItem *Config)

for(CConfigItemList::iterator i=nodes.begin();i!=nodes.end();i++)
{
m_LogsCfg[(*i)->getStr("Name", false, (*i)->getStr("name"))] = LogParam(**i);
m_LogsCfg[(*i)->getStr("Name", false, (*i)->getStr("name", false, "Error"))] = LogParam(**i);
}
}
#endif
Expand Down

0 comments on commit 80dd76e

Please sign in to comment.