1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00

Fix: Missing programname in syslog output (#187)

This commit is contained in:
German Gutierrez 2017-03-01 11:03:55 +01:00 committed by Ruben S. Montero
parent 82e0a4141c
commit 3e8d385069
2 changed files with 2 additions and 1 deletions

View File

@ -211,6 +211,7 @@ public:
private:
string resource_label;
string label;
};
#endif /* _LOG_H_ */

View File

@ -154,7 +154,7 @@ void StdLog::log(
/* -------------------------------------------------------------------------- */
SysLog::SysLog(const MessageType level,
const string& label):Log(level), resource_label("")
const string& label):Log(level), resource_label(""), label(label)
{
static bool initialized = false;