Commit 6f94d002 authored by Steven Murray's avatar Steven Murray
Browse files

SyslogLogger now passes program name to openlog()

parent b745a9cf
......@@ -45,6 +45,9 @@
//------------------------------------------------------------------------------
cta::log::SyslogLogger::SyslogLogger(const std::string &programName, const int logMask):
Logger(programName, logMask) {
const int option = 0;
const int facility = 0;
openlog(m_programName.c_str(), option, facility);
}
//------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment