summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.cpp
diff options
context:
space:
mode:
authormjb2 <mjb2@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-30 20:44:39 +0000
committermjb2 <mjb2@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-30 20:44:39 +0000
commitdc2d89234e580e4fc4f8761fbc4cfb248867dadd (patch)
tree4bd552dcab47f8fdda70d4ba36d020f7e217542d /TAO/tao/ORB.cpp
parent5526ed9b6938ffec789bf66f0b4f61dfb3fd7a6d (diff)
downloadATCD-dc2d89234e580e4fc4f8761fbc4cfb248867dadd.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r--TAO/tao/ORB.cpp25
1 files changed, 14 insertions, 11 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp
index 5431aa8115f..d777e870483 100644
--- a/TAO/tao/ORB.cpp
+++ b/TAO/tao/ORB.cpp
@@ -531,17 +531,19 @@ CORBA_ORB::multicast_to_service (TAO_Service_ID service_id,
ssize_t n_bytes =
multicast.send (&mcast_info, sizeof (mcast_info));
- ACE_DEBUG ((LM_DEBUG, "sent multicast request."));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG, "sent multicast request."));
// check for errors
if (n_bytes == -1)
return return_value;
-
- ACE_DEBUG ((LM_DEBUG,
- "%s; Sent multicast. Reply port is %u. # of bytes sent is %d.\n",
- __FILE__,
- response_addr.get_port_number (),
- n_bytes));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ "%s; Sent multicast. Reply port is %u."
+ "# of bytes sent is %d.\n",
+ __FILE__,
+ response_addr.get_port_number (),
+ n_bytes));
// Wait for response until TAO_DEFAULT_NAME_SERVER_TIMEOUT.
@@ -561,10 +563,11 @@ CORBA_ORB::multicast_to_service (TAO_Service_ID service_id,
// null terminate message
buf[n_bytes] = 0;
- ACE_DEBUG ((LM_DEBUG,
- "%s; Service resolved to ior: '%s'\n",
- __FILE__,
- buf));
+ if (TAO_debug_level > 0)
+ ACE_DEBUG ((LM_DEBUG,
+ "%s; Service resolved to ior: '%s'\n",
+ __FILE__,
+ buf));
// convert ior to an object reference
CORBA_Object_ptr objectified_ior =