summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Logging_Service/Event_Logging_Service
diff options
context:
space:
mode:
authormitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-04-12 22:47:02 +0000
committermitza <mitza@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-04-12 22:47:02 +0000
commit4763430ca49834f855cb538a5a867ae43a0a403e (patch)
tree51fd3bf65fca69b840033a5a5dd7d086c96a4194 /TAO/orbsvcs/Logging_Service/Event_Logging_Service
parent9d5564b342e794dc79bcf4ffe3a1381086b8d960 (diff)
downloadATCD-4763430ca49834f855cb538a5a867ae43a0a403e.tar.gz
ChangeLogTag: Fri Apr 12 22:41:43 UTC 2013 Adam Mitz <mitza@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/Logging_Service/Event_Logging_Service')
-rw-r--r--TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Server.cpp7
-rw-r--r--TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp5
2 files changed, 7 insertions, 5 deletions
diff --git a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Server.cpp b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Server.cpp
index a17b9eb00f1..cf87be5880e 100644
--- a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Server.cpp
+++ b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Server.cpp
@@ -1,5 +1,6 @@
// $Id$
+#include "orbsvcs/Log_Macros.h"
#include "Event_Logging_Service.h"
#include "ace/OS_main.h"
@@ -27,7 +28,7 @@ void
Logging_Svc_Shutdown::operator() (int which_signal)
{
if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
"Event_Logging_Service: shutting down on signal %d\n",
which_signal));
@@ -50,13 +51,13 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
int rc = service.init (argc, argv);
if (rc == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
+ ORBSVCS_ERROR_RETURN ((LM_ERROR,
"Failed to initialize the Telecom Log Service.\n"),
1);
rc = service.run ();
if (rc == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
+ ORBSVCS_ERROR_RETURN ((LM_ERROR,
"Failed to start the Telecom Log Service.\n"),
1);
}
diff --git a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
index 4e0fa703fc0..d78635182df 100644
--- a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
@@ -1,5 +1,6 @@
// $Id$
+#include "orbsvcs/Log_Macros.h"
#include "Event_Logging_Service.h"
#include "ace/Get_Opt.h"
#include "orbsvcs/Log/EventLogFactory_i.h"
@@ -72,7 +73,7 @@ Event_Logging_Service::parse_args (int argc, ACE_TCHAR *argv[])
case '?':
default:
- ACE_DEBUG ((LM_DEBUG,
+ ORBSVCS_DEBUG ((LM_DEBUG,
"Usage: %s "
"-n service_name "
"-o ior_file_name "
@@ -126,7 +127,7 @@ Event_Logging_Service::init (int argc, ACE_TCHAR *argv[])
FILE* iorf = ACE_OS::fopen (this->ior_file_name_, ACE_TEXT("w"));
if (iorf == 0)
{
- ACE_ERROR_RETURN ((LM_ERROR,
+ ORBSVCS_ERROR_RETURN ((LM_ERROR,
"Cannot open output file for writing IOR: %s",
this->ior_file_name_),
-1);