summaryrefslogtreecommitdiff
path: root/ACE/ace/Logging_Strategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Logging_Strategy.cpp')
-rw-r--r--ACE/ace/Logging_Strategy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Logging_Strategy.cpp b/ACE/ace/Logging_Strategy.cpp
index ae7e7d45f6f..63f52993aa0 100644
--- a/ACE/ace/Logging_Strategy.cpp
+++ b/ACE/ace/Logging_Strategy.cpp
@@ -10,7 +10,7 @@
#include "ace/streams.h"
#include "ace/Lib_Find.h"
-#include "ace/Log_Msg.h"
+#include "ace/Log_Category.h"
#include "ace/Reactor.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"
@@ -251,7 +251,7 @@ ACE_Logging_Strategy::ACE_Logging_Strategy (void)
(this->filename_,
MAXPATHLEN - 7) == -1) // 7 for "logfile"
{
- ACE_ERROR ((LM_ERROR,
+ ACELIB_ERROR ((LM_ERROR,
ACE_TEXT ("Temporary path too long, ")
ACE_TEXT ("defaulting to current directory\n")));
this->filename_[0] = 0;
@@ -406,7 +406,7 @@ ACE_Logging_Strategy::handle_timeout (const ACE_Time_Value &,
{
// Lock out any other logging.
if (this->log_msg_->acquire ())
- ACE_ERROR_RETURN ((LM_ERROR,
+ ACELIB_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("Cannot acquire lock!\n")),
-1);
@@ -519,7 +519,7 @@ ACE_Logging_Strategy::handle_timeout (const ACE_Time_Value &,
ACE_OS::rename (this->filename_, backup);
}
else
- ACE_ERROR ((LM_ERROR,
+ ACELIB_ERROR ((LM_ERROR,
ACE_TEXT ("Backup file name too long; ")
ACE_TEXT ("backup logfile not saved.\n")));