summaryrefslogtreecommitdiff
path: root/ace/Log_Msg_UNIX_Syslog.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-16 20:06:31 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-16 20:06:31 +0000
commit00f6035fb31a24a61706a76b85ce375ad1c7d296 (patch)
treeb90ee90c75590405ca58abe74eb07cf05962619d /ace/Log_Msg_UNIX_Syslog.cpp
parent498526caf70ac06806d339aafee652cfb2fe5fdc (diff)
downloadATCD-00f6035fb31a24a61706a76b85ce375ad1c7d296.tar.gz
ChangeLogTag:Mon Jul 16 14:59:32 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Log_Msg_UNIX_Syslog.cpp')
-rw-r--r--ace/Log_Msg_UNIX_Syslog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Log_Msg_UNIX_Syslog.cpp b/ace/Log_Msg_UNIX_Syslog.cpp
index b82cdc14481..d44de31bfd6 100644
--- a/ace/Log_Msg_UNIX_Syslog.cpp
+++ b/ace/Log_Msg_UNIX_Syslog.cpp
@@ -34,11 +34,11 @@ ACE_Log_Msg_UNIX_Syslog::open (const ACE_TCHAR * logger_key)
{
ACE_UNUSED_ARG (logger_key);
- // Initialize the UNIX syslog facility. Default the syslog log options
- // LOG_CONS and LOG_PID to be set. There really should be a logging
- // strategy option to control the syslog log options, however, we'll
- // take the easy way out for now.
- openlog (ACE_Log_Msg::program_name (),
+ // Initialize the UNIX syslog facility. Default the syslog log
+ // options LOG_CONS and LOG_PID to be set. There really should be a
+ // logging strategy option to control the syslog log options,
+ // however, we'll take the easy way out for now.
+ openlog (ACE_const_cast (char *, ACE_Log_Msg::program_name ()),
LOG_CONS|LOG_PID,
ACE_DEFAULT_SYSLOG_FACILITY);