Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
6f94d002
Commit
6f94d002
authored
Aug 17, 2016
by
Steven Murray
Browse files
SyslogLogger now passes program name to openlog()
parent
b745a9cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/log/SyslogLogger.cpp
View file @
6f94d002
...
...
@@ -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
);
}
//------------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment