diff options
Diffstat (limited to 'ACE/ace/Service_Manager.cpp')
-rw-r--r-- | ACE/ace/Service_Manager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/ace/Service_Manager.cpp b/ACE/ace/Service_Manager.cpp index a64bace009e..29359a2fb02 100644 --- a/ACE/ace/Service_Manager.cpp +++ b/ACE/ace/Service_Manager.cpp @@ -3,7 +3,7 @@ #include "ace/Service_Manager.h" #include "ace/Get_Opt.h" -#include "ace/Log_Msg.h" +#include "ace/Log_Category.h" #include "ace/Service_Repository.h" #include "ace/Service_Config.h" #include "ace/Service_Types.h" @@ -127,7 +127,7 @@ ACE_Service_Manager::init (int argc, ACE_TCHAR *argv[]) if (this->get_handle () == ACE_INVALID_HANDLE && this->open (local_addr) == -1) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("open")), -1); } @@ -135,7 +135,7 @@ ACE_Service_Manager::init (int argc, ACE_TCHAR *argv[]) (this, ACE_Event_Handler::ACCEPT_MASK) == -1) { - ACE_ERROR_RETURN ((LM_ERROR, + ACELIB_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("registering service with ACE_Reactor\n")), -1); } @@ -213,7 +213,7 @@ ACE_Service_Manager::list_services (void) if (this->debug_) { - ACE_DEBUG ((LM_DEBUG, + ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("len = %d, info = %s%s"), len, buf, @@ -226,7 +226,7 @@ ACE_Service_Manager::list_services (void) if (n <= 0 && errno != EPIPE) { - ACE_ERROR ((LM_ERROR, + ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("send_n"))); } @@ -326,7 +326,7 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) if (this->debug_) { - ACE_DEBUG ((LM_DEBUG, + ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("client_stream fd = %d\n"), this->client_stream_.get_handle ())); ACE_INET_Addr sa; @@ -336,7 +336,7 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) return -1; } - ACE_DEBUG ((LM_DEBUG, + ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("accepted from host %C at port %d\n"), sa.get_host_name (), sa.get_port_number ())); @@ -372,7 +372,7 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) { if ((remaining -= result) <= 0) { - ACE_DEBUG ((LM_ERROR, + ACELIB_DEBUG ((LM_ERROR, ACE_TEXT ("Request buffer overflow.\n"))); result = 0; break; @@ -395,7 +395,7 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) case -1: if (this->debug_) { - ACE_DEBUG ((LM_ERROR, + ACELIB_DEBUG ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("recv"))); } @@ -422,7 +422,7 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) if (this->client_stream_.close () == -1 && this->debug_) { - ACE_DEBUG ((LM_ERROR, + ACELIB_DEBUG ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("close"))); } |