summaryrefslogtreecommitdiff
path: root/TAO/tao/ImR_Client
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-08-09 16:38:51 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-08-09 16:38:51 +0200
commit47fe3755c2bd041357b2221dcca9c03a5bc4f064 (patch)
tree85598c8f3551a532bdc3e31f2996e0559d9990ef /TAO/tao/ImR_Client
parenta50ed09ff10fa87ff882cf5e9db866a333162e0f (diff)
downloadATCD-47fe3755c2bd041357b2221dcca9c03a5bc4f064.tar.gz
Log the POA name when we log that we inform the ImR
* TAO/tao/ImR_Client/ImR_Client.cpp:
Diffstat (limited to 'TAO/tao/ImR_Client')
-rw-r--r--TAO/tao/ImR_Client/ImR_Client.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/ImR_Client/ImR_Client.cpp b/TAO/tao/ImR_Client/ImR_Client.cpp
index e11a2a6bd29..d60f17d3d7e 100644
--- a/TAO/tao/ImR_Client/ImR_Client.cpp
+++ b/TAO/tao/ImR_Client/ImR_Client.cpp
@@ -307,9 +307,12 @@ namespace TAO
const ACE_CString partial_ior (ior.in (), (pos - ior.in ()) + 1);
if (TAO_debug_level > 0)
+ {
+ CORBA::String_var poaname = poa->the_name ();
TAOLIB_DEBUG ((LM_DEBUG,
- ACE_TEXT ("TAO_ImR_Client (%P|%t) - Informing IMR that we are running at: <%C>\n"),
- partial_ior.c_str ()));
+ ACE_TEXT ("TAO_ImR_Client (%P|%t) - Informing IMR that <%C> is running at: <%C>\n"),
+ poaname.in(), partial_ior.c_str ()));
+ }
try
{
@@ -317,7 +320,7 @@ namespace TAO
TAO::Portable_Server::Non_Servant_Upcall non_servant_upcall (*poa);
ACE_UNUSED_ARG (non_servant_upcall);
- ACE_CString serverId = poa->orb_core ().server_id ();
+ ACE_CString const serverId = poa->orb_core ().server_id ();
ACE_CString name;
if (serverId.empty ())
{